Hide list of speakers overlay on list of speakers slide

This commit is contained in:
Norman Jäckel 2013-05-12 01:16:41 +02:00
parent 3ba5fd2dc6
commit af6659a67e
2 changed files with 5 additions and 2 deletions

View File

@ -84,7 +84,10 @@ def agenda_list_of_speakers(sender, **kwargs):
"""
slide = get_slide_from_sid(get_active_slide(only_sid=True), element=True)
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
clear_projector_cache()
list_of_speakers = slide.get_list_of_speakers(

View File

@ -35,8 +35,8 @@
</style>
<div id="overlay_list_of_speaker_box">
<h3>{% trans 'List of speakers' %}:</h3>
{% if list_of_speakers %}
<h3>{% trans "List of speakers" %}:</h3>
<ul>
{% for speaker_dict in list_of_speakers %}
<li>