More generic pages.
[wolnelektury.git] / src / waiter / templates / waiter / wait.html
index 22f5af8..c004895 100644 (file)
@@ -1,7 +1,15 @@
-{% extends "base/base.html" %}
+{% extends request.EXPERIMENTS.layout.value|yesno:"2022/base_simple.html,base/base.html" %}
 {% load i18n %}
 {% load static from static %}
 
+
+{% block settings %}
+  {% load title %}
+  {% trans "Your file is being prepared, please wait." as title %}
+  {% title title %}
+{% endblock %}
+
+
 {% block titleextra %}
   {% if file_url %}
     {% trans "The file is ready for download!" %}
   {% 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.