Skip to content

Commit 483eb7b

Browse files
committed
Tweaked the agenda HTML template, adding additional conditions (agenda-note, remote instructions) that would lead to showing session-related links.
- Legacy-Id: 18170
1 parent 4fa4316 commit 483eb7b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/templates/meeting/agenda.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ <h2>
192192
{% endif %}
193193

194194
{% if item.timeslot.type.slug == 'break' or item.timeslot.type.slug == 'reg' or item.timeslot.type.slug == 'other' %}
195-
<tr id="row-{{ item.slug }}">
195+
<tr id="row-{{ item.slug }}" timeslot-type="{{item.timeslot.type.slug}}">
196196
<td class="text-nowrap text-right">
197197
{% if "-utc" in request.path %}
198198
{{item.timeslot.utc_start_time|date:"G:i"}}-{{item.timeslot.utc_end_time|date:"G:i"}}
@@ -234,7 +234,7 @@ <h2>
234234
<td class="col-md-2 text-right">
235235
<span class="hidden-xs">
236236
{% if item.timeslot.type.slug == 'other' %}
237-
{% if item.session.agenda %}
237+
{% if item.session.agenda or item.session.remote_instructions or item.session.agenda_note %}
238238
{% include "meeting/session_buttons_include.html" with show_agenda=True session=item.session meeting=schedule.meeting %}
239239
{% else %}
240240
{% for slide in item.session.slides %}
@@ -250,7 +250,7 @@ <h2>
250250

251251
{% if item.timeslot.type_id == 'regular' or item.timeslot.type.slug == 'plenary' %}
252252
{% if item.session.historic_group %}
253-
<tr id="row-{{item.slug}}" data-ske="row-{{ item.slug }}" {% if item.timeslot.type.slug == 'plenary' %}class="{{item.timeslot.type.slug}}danger"{% endif %}>
253+
<tr id="row-{{item.slug}}" timeslot-type="{{item.timeslot.type.slug}}" data-ske="row-{{ item.slug }}" {% if item.timeslot.type.slug == 'plenary' %}class="{{item.timeslot.type.slug}}danger"{% endif %}>
254254
{% if item.timeslot.type.slug == 'plenary' %}
255255
<th class="text-nowrap text-right">
256256
{% if "-utc" in request.path %}

0 commit comments

Comments
 (0)