Hide list of speakers overlay on list of speakers slide
This commit is contained in:
parent
3ba5fd2dc6
commit
af6659a67e
@ -84,7 +84,10 @@ def agenda_list_of_speakers(sender, **kwargs):
|
|||||||
"""
|
"""
|
||||||
slide = get_slide_from_sid(get_active_slide(only_sid=True), element=True)
|
slide = get_slide_from_sid(get_active_slide(only_sid=True), element=True)
|
||||||
if not isinstance(slide, Item):
|
if not isinstance(slide, Item):
|
||||||
# Only show list of speakers on Agenda-Items
|
# Only show list of speakers overlay on agenda items
|
||||||
|
return None
|
||||||
|
if config['presentation_argument'] == 'show_list_of_speakers':
|
||||||
|
# Do not show list of speakers overlay on the list of speakers slide
|
||||||
return None
|
return None
|
||||||
clear_projector_cache()
|
clear_projector_cache()
|
||||||
list_of_speakers = slide.get_list_of_speakers(
|
list_of_speakers = slide.get_list_of_speakers(
|
||||||
|
@ -35,8 +35,8 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div id="overlay_list_of_speaker_box">
|
<div id="overlay_list_of_speaker_box">
|
||||||
|
<h3>{% trans 'List of speakers' %}:</h3>
|
||||||
{% if list_of_speakers %}
|
{% if list_of_speakers %}
|
||||||
<h3>{% trans "List of speakers" %}:</h3>
|
|
||||||
<ul>
|
<ul>
|
||||||
{% for speaker_dict in list_of_speakers %}
|
{% for speaker_dict in list_of_speakers %}
|
||||||
<li>
|
<li>
|
||||||
|
Loading…
Reference in New Issue
Block a user