From 34482cd1005911a5ea94ba8192f0a680d75b3456 Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Mon, 10 Apr 2023 16:58:22 +0300 Subject: [PATCH] fix: Long session titles were overlapping the materials buttons (#5454) --- .../meeting/session_details_panel.html | 44 ++++++++++--------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/ietf/templates/meeting/session_details_panel.html b/ietf/templates/meeting/session_details_panel.html index c5662bfc2..845cf0949 100644 --- a/ietf/templates/meeting/session_details_panel.html +++ b/ietf/templates/meeting/session_details_panel.html @@ -2,30 +2,32 @@ {% origin %} {% for session in sessions %} {% with item=session.official_timeslotassignment %} {% with timeslot=item.timeslot %} -

- {% if sessions|length > 1 %}Session {{ forloop.counter }} :{% endif %} - {% for time in session.times %} - {% if not forloop.first %},{% endif %} - {{ time|timezone:session.meeting.time_zone|dateformat:"l Y-m-d H:i T" }} - {% if time.tzinfo.zone != "UTC" %}({{ time|utc|dateformat:"H:i T" }}){% endif %} - {% endfor %} - {% if session.cancelled %} - Cancelled - {% else %} - {{ session.status }} +
+ {% if not session.cancelled %} +
+ {# see note in the included templates re: show_agenda parameter and required JS import #} + {% if meeting.type.slug == 'interim' %} + {% include "meeting/interim_session_buttons.html" with show_agenda=False show_empty=False %} + {% else %} + {% include "meeting/session_buttons_include.html" with show_agenda=False item=session.official_timeslotassignment use_notes=session.meeting.use_notes %} + {% endif %} +
{% endif %} - {% if session.name %}: {{ session.name }}{% endif %} -

- {% if not session.cancelled %} -
- {# see note in the included templates re: show_agenda parameter and required JS import #} - {% if meeting.type.slug == 'interim' %} - {% include "meeting/interim_session_buttons.html" with show_agenda=False show_empty=False %} +

+ {% if sessions|length > 1 %}Session {{ forloop.counter }} :{% endif %} + {% for time in session.times %} + {% if not forloop.first %},{% endif %} + {{ time|timezone:session.meeting.time_zone|dateformat:"l Y-m-d H:i T" }} + {% if time.tzinfo.zone != "UTC" %}({{ time|utc|dateformat:"H:i T" }}){% endif %} + {% endfor %} + {% if session.cancelled %} + Cancelled {% else %} - {% include "meeting/session_buttons_include.html" with show_agenda=False item=session.official_timeslotassignment use_notes=session.meeting.use_notes %} + {{ session.status }} {% endif %} -

- {% endif %} + {% if session.name %}: {{ session.name }}{% endif %} + + {% if session.agenda_note %}

{{ session.agenda_note }}

{% endif %} {% if can_manage_materials %} {% if session.current_status == 'sched' or session.current_status == 'schedw' %}