{% extends "orga/submission/base.html" %} {% load compress %} {% load i18n %} {% load rich_text %} {% load rules %} {% load static %} {% load thumbnail %} {% block submission_title %}{% translate "Speakers" %} :: {% endblock submission_title %} {% block submission_content %} {% has_perm "submission.update_submission" request.user submission as can_edit_speakers %} {% has_perm "mail.send_queuedmail" request.user request.event as can_send_mails %} {% has_perm "person.mark_arrived_speakerprofile" request.user request.event as can_mark_speaker %} {% if can_edit_speakers %}
{% csrf_token %}
{{ form.email.as_field_group }}
{{ form.name.as_field_group }}
{% if form.locale %}{{ form.locale.as_field_group }}{% endif %}
{% endif %} {% for speaker in speakers %}

{{ speaker.user.get_display_name }} {% if speaker.user.avatar and request.event.cfp.request_avatar %} {% endif %}

{% if request.event.cfp.request_biography %}

{% translate "Biography" %}:
{{ speaker.profile.biography|rich_text|default:"-" }}

{% endif %}

{% if speaker.other_submissions %}

{% translate "Other proposals by this speaker:" %}
{% endif %}

{% if can_edit_speakers %} {% if can_mark_speaker and submission.state in 'accepted,confirmed' %} {% include "orga/includes/mark_speakers_arrived.html" with speaker=speaker.profile %} {% endif %} {% if can_send_mails %} {% translate "Send email" %} {% endif %} {{ phrases.base.edit }} {% translate "Remove" %} {% endif %}
{% endfor %} {% compress js %} {% endcompress %} {% endblock submission_content %}