Skip to content

Commit dac1163

Browse files
committed
Revert a URL schema change made by olau@iola.dk in [4046] for a reason I can't quite see. This change breaks old URLs.
- Legacy-Id: 4299 Note: SVN reference [4046] has been migrated to Git commit d6baa38
1 parent 29b4090 commit dac1163

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

ietf/meeting/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
(r'^(?P<num>\d+)/agenda/week-view.html$', views.week_view),
2424
(r'^(?P<num>\d+)/agenda/(?P<session>[A-Za-z0-9-]+)-drafts.pdf$', views.session_draft_pdf),
2525
(r'^(?P<num>\d+)/agenda/(?P<session>[A-Za-z0-9-]+)-drafts.tgz$', views.session_draft_tarfile),
26-
(r'^(?P<num>\d+)/agenda/(?P<session>[A-Za-z0-9-]+)-agenda/$', views.session_agenda),
26+
(r'^(?P<num>\d+)/agenda/(?P<session>[A-Za-z0-9-]+)/?$', views.session_agenda),
2727
(r'^$', views.current_materials),
2828
)
2929

ietf/templates/meeting/agenda.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ <h2 class="ietf-divider">{{ slot.time|date:"l"|upper }}, {{ slot.time|date:"F j,
306306
{% else %}{{slot.session.group.acronym}}{% endif %}</td>
307307
<td>
308308
<img src="/images/color-palette-4x4.gif" alt="" onclick="pickAgendaColor('{{meeting.num}}-{{slot.time|date:"D-Hi"|lower}}-{{slot.session.group.parent.acronym|upper}}-{{slot.session.group.acronym|lower}}',this);" title="color tag this line"/ class="noprint">
309-
{% if slot.session.agenda %}<a href="/meeting/{{ meeting.num }}/agenda/{{ slot.session.group.acronym }}-agenda/">{{slot.session.group.name}}</a>
309+
{% if slot.session.agenda %}<a href="/meeting/{{ meeting.num }}/agenda/{{ slot.session.group.acronym }}/">{{slot.session.group.name}}</a>
310310
{% else %}{{slot.session.group.name}}{% endif %}
311311
{% if slot.session.group.state.name = "BOF" %} BOF {% endif %}
312312
{% if slot.session.agenda_note %}
@@ -318,7 +318,7 @@ <h2 class="ietf-divider">{{ slot.time|date:"l"|upper }}, {{ slot.time|date:"F j,
318318
<td colspan="5">
319319
{% if slot.session.agenda %}
320320
{% if slot.session.agenda.file_extension in show_inline%}
321-
<iframe width="100%" height="1px" src="about:blank" xsrc="/meeting/{{ meeting.num }}/agenda/{{ slot.session.group.acronym }}-agenda/" onload="r(this)"></iframe>
321+
<iframe width="100%" height="1px" src="about:blank" xsrc="/meeting/{{ meeting.num }}/agenda/{{ slot.session.group.acronym }}/" onload="r(this)"></iframe>
322322
{% else %}
323323
<b><i>Agenda submitted in {{slot.session.agenda.file_extension|upper}} format</i></b>
324324
{% endif %}
@@ -333,7 +333,7 @@ <h2 class="ietf-divider">{{ slot.time|date:"l"|upper }}, {{ slot.time|date:"F j,
333333
<tr>
334334
<td></td>
335335
<td colspan="5">
336-
<iframe width="100%" height="1px" src="/meeting/{{ meeting.num }}/agenda/{{ slot.session.group.acronym }}-agenda/" onload="r(this)"></iframe>
336+
<iframe width="100%" height="1px" src="/meeting/{{ meeting.num }}/agenda/{{ slot.session.group.acronym }}/" onload="r(this)"></iframe>
337337
</td>
338338
</tr>
339339
{% endif %}

0 commit comments

Comments
 (0)