{% extends "wafer/base.html" %} {% load i18n %} {% load crispy_forms_tags %} {% load static from staticfiles %} {% block extra_head %} {{ block.super }} {% if can_review %} {{ review_form.media.css }} {% endif %} {% endblock %} {% block title %}{{ object.title }} - {{ WAFER_CONFERENCE_NAME }}{% endblock %} {% block content %}

{{ object.title }} {% if can_edit %} {% trans 'Edit' %} {% endif %} {% if can_review %} {% trans 'Review' %} {% endif %}

{% blocktrans count counter=object.authors.count %} Speaker: {% plural %} Speakers: {% endblocktrans %} {% for author in object.authors.all %} {{ author.userprofile.display_name }} {% endfor %}

{% if object.track %}

{% blocktrans with track=object.track.name %} Track: {{ track }} {% endblocktrans %}

{% endif %}

{% blocktrans with talk_type=object.talk_type.name|default:'Talk' %} Type: {{ talk_type }} {% endblocktrans %}

{% if object.get_in_schedule %} {% for schedule in object.scheduleitem_set.all %}

{% blocktrans with venue=schedule.venue %} Room: {{ venue }} {% endblocktrans %}

{% blocktrans with start_time=schedule.get_start_time %} Time: {{ start_time }} {% endblocktrans %}

{% blocktrans with hours=schedule.get_duration.hours|stringformat:"d" minutes=schedule.get_duration.minutes|stringformat:"02d" %} Duration: {{ hours }}:{{ minutes }} {% endblocktrans %}

{% endfor %} {% endif %}
{% if user.is_staff or perms.talks.view_all_talks %}

{% trans 'Status:' %} {% if object.submitted %} {% trans 'Submitted' %} {% elif object.under_consideration %} {% trans 'Under consideration' %} {% elif object.provisional %} {% trans 'Provisionally Accepted' %} {% elif object.accepted %} {% trans 'Accepted' %} {% elif object.cancelled %} {% trans 'Cancelled' %} {% else %} {% trans 'Not accepted' %} {% endif %}

{% endif %}
{{ object.abstract.rendered|safe }}
{% if perms.talks.view_all_talks or user.is_superuser %} {% if talk.notes %}
{% blocktrans %}

Talk Notes

(The following is not visible to attendees.)

{% endblocktrans %}

{{ object.notes|urlize|linebreaksbr }}

{% endif %} {% endif %} {% if perms.talks.edit_private_notes and object.private_notes %}
{% blocktrans %}

Private notes

(The following is not visible to submitters or attendees.)

{% endblocktrans %}

{{ object.private_notes|urlize|linebreaksbr }}

{% endif %} {% if talk.urls.all %}

{% trans "URLs" %}

{% endif %}
{% if can_review %}

{% trans 'Review' %}

{% crispy review_form %}
{% endif %} {% endblock %} {% block extra_foot %} {{ block.super }} {% if can_review %} {{ review_form.media.js }} {% endif %} {% endblock %}