{% extends "base.html" %} {% load i18n %} {% load tags %} {% load staticfiles %} {% block title %}{{ block.super }} – {{ item.title }}{% endblock %} {% block header %} {% endblock %} {% block javascript %} {% endblock %} {% block content %}

{{ item }}
{% trans "Back to overview" %} {% if perms.agenda.can_manage_agenda %} {% if perms.projector.can_manage_projector %} {% endif %}

{{ item.text|safe|linebreaks }}

{% if perms.agenda.can_manage_agenda %} {% if item.comment %}

{% trans "Comment" %}

{{ item.comment|linebreaks }}

{% endif %} {% endif %} {# List of Speakers #}

{% trans "List of speakers" %} {% if item.speaker_list_closed %}{% trans 'closed' %}{% endif %}

{% if perms.agenda.can_manage_agenda %} {% if item.speaker_list_closed %} {% trans 'Open list' %} {% else %} {% trans 'Close list' %} {% endif %} {% endif %} {% if perms.projector.can_manage_projector %} {% trans 'Show list' %} {% endif %}

{% if old_speakers %}
{% trans "Last speakers" %}: {% if old_speakers|length > 1 %}
{% endif %}
{% for speaker in old_speakers %} {% if not forloop.last %} {{forloop.counter}}. [{{ speaker.time }}h] {{ speaker }} {% if perms.agenda.can_manage_agenda %} {% endif %}
{% endif %} {% endfor %}
{% if old_speakers %} {% with last=old_speakers|last %} {{ old_speakers|length }}. [{{ last.time }}h] {{ last }} {% if perms.agenda.can_manage_agenda %} {% endif %} {% endwith %} {% endif %}
{% endif %} {% if perms.agenda.can_manage_agenda %} {% endif %}
{% trans "Next speakers:" %}

{% if is_speaker %} {% trans "Remove me from the list" %} {% elif not object.speaker_list_closed and perms.can_be_speaker %} {% trans "Put me on the list" %} {% endif %}

{% if perms.can_manage_agenda %}
{% csrf_token %} {% for field in form %}
{{ field }} {% if perms.participant.can_see_participant and perms.participant.can_manage_participant %} {% endif %} {% if field.errors %} {{ field.errors }} {% endif %}
{% endfor %}
{% endif %}
{% endblock %}