{% extends 'speeches/base.html' %} {% load url from future %} {% load i18n %} {% load staticfiles %} {% load speech_utils %} {% block extra_headers %} {% if object.celery_task_id %} {% endif %} {% with next=speech.get_next_speech previous=speech.get_previous_speech %} {% if previous %} {% endif %} {% if next %} {% endif %} {% endwith %} {% endblock %} {% block title %} {% if object.title %} {{ object.title }} {% else %} “{{ object.summary|striptags }}” {% endif %} {% endblock %} {% block content %} {% if object.celery_task_id %} {% else %} {% include "speeches/_speech_user_actions.html" %}
{% if speech.speaker %}
{% endif %} {% if object.audio %}

{% endif %} {% if object.text %}
{{ object.text|bleach }}
{% endif %} {% if object.section %} {% include "speeches/_breadcrumbs.html" with section=object.section all=1 %} {% endif %}
{% with next=speech.get_next_speech previous=speech.get_previous_speech %} {% if previous or next %}
{% if previous %} « {{ previous.summary|bleach }} {% endif %} {% if next %} {{ next.summary|bleach }} » {% endif %}

{% trans "Keyboard shortcuts" %}

j {% trans "previous speech" %} k {% trans "next speech" %}

{% endif %} {% endwith %}
{% endif %} {% endblock %}