Skip to content

Commit 5869047

Browse files
committed
Made the room links on the agenda page point at the datatracker floor-plans for IETF meetings IETF-96 and later.
- Legacy-Id: 11583
1 parent e70dcfc commit 5869047

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

ietf/templates/meeting/agenda.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,11 @@ <h2>
193193
</td>
194194
<td colspan="3">
195195
{% if item.timeslot.show_location and item.timeslot.get_location %}
196+
{% if schedule.meeting.number|add:"0" < 96 %}
196197
<a href="https://tools.ietf.org/agenda/{{schedule.meeting.number}}/venue/?room={{ item.timeslot.get_location|slugify }}">{{item.timeslot.get_location|split:"/"|join:"/<wbr>"}}</a>
198+
{% else %}
199+
<a href="{% url 'ietf.meeting.views.floor_plan' num=schedule.meeting.number %}?room={{ item.timeslot.get_location|slugify }}">{{item.timeslot.get_location|split:"/"|join:"/<wbr>"}}</a>
200+
{% endif %}
197201
{% endif %}
198202
</td>
199203
<td colspan="2">
@@ -215,7 +219,11 @@ <h2>
215219
</th>
216220
<td colspan="3">
217221
{% if item.timeslot.show_location and item.timeslot.get_location %}
222+
{% if schedule.meeting.number|add:"0" < 96 %}
218223
<a href="https://tools.ietf.org/agenda/{{schedule.meeting.number}}/venue/?room={{ item.timeslot.get_location|slugify }}">{{item.timeslot.get_location|split:"/"|join:"/<wbr>"}}</a>
224+
{% else %}
225+
<a href="{% url 'ietf.meeting.views.floor_plan' num=schedule.meeting.number %}?room={{ item.timeslot.get_location|slugify }}">{{item.timeslot.get_location|split:"/"|join:"/<wbr>"}}</a>
226+
{% endif %}
219227
{% endif %}
220228
</td>
221229

@@ -224,7 +232,11 @@ <h2>
224232

225233
<td>
226234
{% if item.timeslot.show_location and item.timeslot.get_location %}
227-
<a href="https://tools.ietf.org/agenda/{{schedule.meeting.number}}/venue/?room={{ item.timeslot.get_location|slugify }}">{{item.timeslot.get_location|split:"/"|join:"/<wbr>"}}</a>
235+
{% if schedule.meeting.number|add:"0" < 96 %}
236+
<a href="https://tools.ietf.org/agenda/{{schedule.meeting.number}}/venue/?room={{ item.timeslot.get_location|slugify }}">{{item.timeslot.get_location|split:"/"|join:"/<wbr>"}}</a>
237+
{% else %}
238+
<a href="{% url 'ietf.meeting.views.floor_plan' num=schedule.meeting.number %}?room={{ item.timeslot.get_location|slugify }}">{{item.timeslot.get_location|split:"/"|join:"/<wbr>"}}</a>
239+
{% endif %}
228240
{% endif %}
229241
</td>
230242

0 commit comments

Comments
 (0)