From f61c531f0dfa17067b42df87b6ed3752d928783a Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Mon, 6 Feb 2023 17:35:10 +0200 Subject: [PATCH] fix: Don't include the modal inside a button group, it breaks the styling (#5085) --- ietf/templates/meeting/interim_session_buttons.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 #}