{% extends 'speeches/base.html' %} {% 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 og_description %}{{ speech.text|striptags|truncatewords:30 }}{% endblock %} {% block og_image %}{% with speech.speaker as speaker %}{% if speaker.image_cache %}http{% if request.is_secure %}s{% endif %}://{{ request.get_host }}{{ speaker.image_cache.url }}{% elif speaker.image %}{{ speaker.image }}{% else %}{{ block.super }}{% endif %}{% endwith %}{% endblock %} {# we don't know the details of this image #} {% block og_image_details %}{% endblock %} {% block content %} {% if object.celery_task_id %}
{% trans "Please wait, audio is being transcribed. This page will automatically refresh in 5 seconds..." %}
{% endif %} {% if object.title %}