Use session.agenda.href in the agenda template, instead of constructing an agenda link in place. This is more DRY, and also fixes some places where the old construct was wrong.

- Legacy-Id: 11416
This commit is contained in:
Henrik Levkowetz 2016-06-20 17:57:55 +00:00
parent 84c355e166
commit 252c201817

View file

@ -251,7 +251,7 @@
<td>
{% if item.session.agenda %}
<a href="/meeting/{{ schedule.meeting.number }}/agenda/{{ item.session.historic_group.acronym }}/">
<a href="{{ item.session.agenda.href }}">
{% endif %}
{% if item.timeslot.type.slug == 'plenary' %}
{{item.timeslot.name}}