diff --git a/ietf/templates/meeting/interim_session_buttons.html b/ietf/templates/meeting/interim_session_buttons.html index 30be5c734..4f5e3d2a0 100644 --- a/ietf/templates/meeting/interim_session_buttons.html +++ b/ietf/templates/meeting/interim_session_buttons.html @@ -4,10 +4,12 @@ {% load textfilters tz %} {% origin %} {% with item=session.official_timeslotassignment acronym=session.group_at_the_time.acronym %} + {% if session.agenda and show_agenda %} + {# Note: if called with show_agenda=True, calling template must load agenda_materials.js, needed by session_agenda_include.html #} + {% include "meeting/session_agenda_include.html" with slug=item.slug session=session timeslot=item.timeslot only %} + {% endif %}
{% if session.agenda and show_agenda %} - {% include "meeting/session_agenda_include.html" with slug=item.slug session=session timeslot=item.timeslot only %} - {# Note: if called with show_agenda=True, calling template must load agenda_materials.js, needed by session_agenda_include.html #} {# agenda pop-up button #}