Skip to content

Commit e6f6799

Browse files
committed
Added calendar icon links for webcal subscription and ical download to the Upcoming meetings page. Removed the display of agenda and call-in links for cancelled meetings. Moved the CANCELLED label into the freed-up space. Commit ready to merge.
- Legacy-Id: 17735
1 parent 8ec9e1c commit e6f6799

1 file changed

Lines changed: 18 additions & 5 deletions

File tree

ietf/templates/meeting/upcoming.html

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,14 @@
2020
<div class="row">
2121
<div class="col-md-10">
2222

23-
<h1>Upcoming Meetings</h1>
23+
<h1>Upcoming Meetings
24+
<span class="regular pull-right">
25+
<a title="iCalendar subscription for upcoming meetings" href="webcal://{{request.get_host}}{% url 'ietf.meeting.views.upcoming_ical' %}">
26+
<span class="fa fa-stack-1"><i class="fa fa-fw fa-calendar-o fa-stack-1x"></i><i class="fa fa-fw fa-repeat fa-stack-xs"></i></span>
27+
</a>
28+
<a title="iCalendar entry for upcoming meetings" href="{% url 'ietf.meeting.views.upcoming_ical' %}"><span class="fa fa-calendar"></span></a>
29+
</span>
30+
</h1>
2431

2532
<p>For more on regular IETF meetings see <a href="https://www.ietf.org/meeting/upcoming.html">here</a></p>
2633

@@ -68,11 +75,17 @@ <h1>Upcoming Meetings</h1>
6875
<td>{{ session.official_timeslotassignment.timeslot.utc_start_time | date:"Y-m-d H:i"}} - {{ session.official_timeslotassignment.timeslot.utc_end_time | date:"H:i e" }}</td>
6976
<td><a href="{% url 'ietf.group.views.group_home' acronym=session.group.acronym %}">{{ session.group.acronym }}</a></td>
7077
<td>
71-
<a href="{% url 'ietf.meeting.views.session_details' num=session.meeting.number acronym=session.group.acronym %}">{{ session.meeting.number }}{% if session.current_status == 'canceled' %}&nbsp;&nbsp;<span class="label label-warning">CANCELLED</span>{% endif %}</a>
72-
</td>
73-
<td class='text-right'>
74-
{% include "meeting/interim_session_buttons.html" %}
78+
<a href="{% url 'ietf.meeting.views.session_details' num=session.meeting.number acronym=session.group.acronym %}">{{ session.meeting.number }}</a>
7579
</td>
80+
{% if session.current_status == 'canceled' %}
81+
<td class='text-right'>
82+
<span class="label label-warning">CANCELLED</span>
83+
</td>
84+
{% else %}
85+
<td class='text-right'>
86+
{% include "meeting/interim_session_buttons.html" with show_agenda=True %}
87+
</td>
88+
{% endif %}
7689
{% endwith %}
7790
{% else %}
7891
<td><span class="label-warning">Unexpected entry type: {{entry|classname}}</span></td>

0 commit comments

Comments
 (0)