{% extends 'speeches/base.html' %} {% load url from future %} {% load i18n %} {% load staticfiles %} {% load speech_utils %} {% load thumbnail %} {% 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 %}
{% if 'created' in request.GET %}

{% trans 'Your speech has been saved!' %}

{% if object.section %} {% trans 'Add another speech like this' %} {% trans "Show speech in context" %} {% else %} {% trans 'Add another speech' %} {% endif %}
{% endif %}
{% if speech.speaker %} {% endif %} {% if object.audio %}

{% endif %} {% if object.title %}

{{ object.title }}

{% 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 %}