fix: Don't include the modal inside a button group, it breaks the styling (#5085)

This commit is contained in:
Lars Eggert 2023-02-06 17:35:10 +02:00 committed by GitHub
parent fac5a8cf0d
commit f61c531f0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,10 +4,12 @@
{% load textfilters tz %} {% load textfilters tz %}
{% origin %} {% origin %}
{% with item=session.official_timeslotassignment acronym=session.group_at_the_time.acronym %} {% 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 %}
<div role="group" class="btn-group btn-group-sm"> <div role="group" class="btn-group btn-group-sm">
{% if session.agenda and show_agenda %} {% 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 #} {# agenda pop-up button #}
<a class="btn btn-outline-primary" <a class="btn btn-outline-primary"
data-bs-toggle="modal" data-bs-toggle="modal"