Tweaked the HTML that puts session links and calendar links on the session details page to put them on the same line.

- Legacy-Id: 18114
This commit is contained in:
Henrik Levkowetz 2020-07-01 11:43:44 +00:00
parent e0c5929e31
commit 7a30c14bbd
2 changed files with 3 additions and 3 deletions

View file

@ -1243,7 +1243,7 @@ class SessionDetailsTests(TestCase):
self.assertNotContains(r, 'deleted')
q = PyQuery(r.content)
self.assertTrue(q('h2#session_%s div#session-buttons-%s' % (session.id, session.id)),
self.assertTrue(q('h2#session_%s span#session-buttons-%s' % (session.id, session.id)),
'Session detail page does not contain session tool buttons')
self.assertFalse(q('h2#session_%s div#session-buttons-%s span.fa-arrows-alt' % (session.id, session.id)),
'The session detail page is incorrectly showing the "Show meeting materials" button')

View file

@ -4,7 +4,7 @@
{% load textfilters %}
{% origin %}
<div id="session-buttons-{{session.pk}}">
<span id="session-buttons-{{session.pk}}">
{% if session.agenda and show_agenda %}
{% include "meeting/session_agenda_include.html" %}
<!-- agenda pop-up button -->
@ -101,4 +101,4 @@
{% endif %}
{% endif %}
{% endif %}
</div>
</span>