Cleanup
[wolnelektury.git] / src / waiter / templates / waiter / wait.html
index 22f5af8..0cee1df 100644 (file)
@@ -1,17 +1,22 @@
-{% extends "base/base.html" %}
+{% extends "base_simple.html" %}
 {% load i18n %}
 {% load static from static %}
 
-{% block titleextra %}
+
+{% block settings %}
+  {% load title %}
+
   {% if file_url %}
-    {% trans "The file is ready for download!" %}
+    {% trans "The file is ready for download!" as title %}
   {% else %}
     {% if waiting %}
-      {% trans "Your file is being prepared, please wait." %}
+      {% trans "Your file is being prepared, please wait." as title %}
     {% else %}
-      {% trans "Something went wrong." %}
+      {% trans "Something went wrong." as title %}
     {% endif %}
   {% endif %}
+
+  {% title title %}
 {% endblock %}
 
 
   {% else %}
     {% if waiting %}
       <h1>
-        <img src="{% static "img/indicator.gif" %}" alt="{% trans 'Please wait' %}"/>
         {% trans "Your file is being prepared, please wait." %}
       </h1>
 
       <div class="normal-text">
-        <p>{% blocktrans with d=waiting.description %}The file you requested was: <em>{{d}}</em>.{% endblocktrans %}</p>
+        <p>
+          <img src="{% static "img/indicator.gif" %}" alt="{% trans 'Please wait' %}"/>
+          {% blocktrans with d=waiting.description %}The file you requested was: <em>{{d}}</em>.{% endblocktrans %}
+        </p>
 
         <p>
           {% blocktrans %}<strong>Be aware:</strong> Generating the file can take a while.