| |
@@ -4,9 +4,18 @@
|
| |
<em>You must configure a calendar in the hub configuration in order to use this widget.</em>
|
| |
</p>
|
| |
{% elif hub_type == 'stream'%}
|
| |
- <p class="text-warning mb-0">
|
| |
- <em>The hubs you are subscribed to are not using calendars</em>
|
| |
- </p>
|
| |
+ {% if no_subscriptions %}
|
| |
+ <div class="text-center text-muted">
|
| |
+ You aren't subscribed to any hubs.
|
| |
+ </div>
|
| |
+ <div class="text-center text-muted">
|
| |
+ Subscribe to a hub to show meetings here.
|
| |
+ </div>
|
| |
+ {% else%}
|
| |
+ <div class="text-center text-muted">
|
| |
+ The hubs you are subscribed to are not using calendars
|
| |
+ </div>
|
| |
+ {% endif %}
|
| |
{% endif %}
|
| |
{% else %}
|
| |
{% for title, next in meetings.items() %}
|
| |
@@ -29,9 +38,9 @@
|
| |
<a href="#">{{ next.location }}</a>
|
| |
</div>
|
| |
<div class="col-md-5 col-lg-4 text-right">
|
| |
- <a href="https://apps.fedoraproject.org/calendar/ical/calendar/meeting/{{ next.meeting_id }}/">
|
| |
- <button class="btn btn-secondary btn-sm">
|
| |
- <small><strong>Add to calendar</strong></small>
|
| |
+ <a href="https://apps.fedoraproject.org/calendar/ical/calendar/meeting/{{ next.meeting_id }}/" title="download meeting as an iCal">
|
| |
+ <button class="btn btn-outline-secondary btn-sm">
|
| |
+ <i class="fa fa-calendar"></i>
|
| |
</button>
|
| |
</a>
|
| |
</div>
|
| |
@@ -51,8 +60,8 @@
|
| |
</div>
|
| |
{% endfor %}
|
| |
{% if hub_type == 'team' %}
|
| |
- <a href="https://apps.fedoraproject.org/calendar/{{calendars[0]}}" class="mt-3 btn btn-sm btn-block btn-secondary">
|
| |
- View calendar on Fedocal
|
| |
+ <a href="https://apps.fedoraproject.org/calendar/{{calendars[0]}}" class="mt-3 btn btn-sm btn-block btn-outline-primary">
|
| |
+ view entire meeting calendar
|
| |
</a>
|
| |
{% endif %}
|
| |
{% endif %}
|
| |
made the ical link for meeting items an icon rather than text
made the stream meetings widget message that shows if you arent
subscribed to any hubs.
tweak button styles a bit