X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ae60b2a3949e96357477cc04f90fd0873cee8a92..9bc86f5a6542c5893ac94284da33162a7c7be2d6:/src/waiter/templates/waiter/wait.html?ds=inline diff --git a/src/waiter/templates/waiter/wait.html b/src/waiter/templates/waiter/wait.html index 6ef1b7751..0cee1df4c 100644 --- a/src/waiter/templates/waiter/wait.html +++ b/src/waiter/templates/waiter/wait.html @@ -1,93 +1,107 @@ -{% extends "base.html" %} +{% extends "base_simple.html" %} {% load i18n %} -{% load static from staticfiles %} +{% load static from static %} -{% block titleextra %} -{% if file_url %} - {% trans "The file is ready for download!" %} -{% else %} + +{% block settings %} + {% load title %} + + {% if file_url %} + {% 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 %} + {% endif %} + + {% title title %} {% endblock %} {% block extrahead %} -{% if file_url %} + {% if file_url %} -{% else %} + {% else %} {% if waiting %} - + {% endif %} -{% endif %} + {% endif %} {% endblock %} {% block body %} -{% if file_url %} + {% if file_url %}

{% trans "The file is ready for download!" %}

-

{% blocktrans %}Your file is ready! - If the download doesn't start in a few seconds, - feel free to use this direct link.{% endblocktrans %}

+

+ {% blocktrans %}Your file is ready! + If the download doesn't start in a few seconds, + feel free to use this direct link.{% endblocktrans %} +

-{% else %} - {% if waiting %} -

{% trans 'Please wait' %} - {% trans "Your file is being prepared, please wait." %}

+ {% else %} + {% if waiting %} +

+ {% trans "Your file is being prepared, please wait." %} +

-
-

{% blocktrans with d=waiting.description %}The file you requested was: {{d}}.{% endblocktrans %}

+
+

+ {% trans 'Please wait' %} + {% blocktrans with d=waiting.description %}The file you requested was: {{d}}.{% endblocktrans %} +

-

{% blocktrans %}Be aware: Generating the file can take a while. - Please be patient, or bookmark this page and come back later.

{% endblocktrans %} -
- {% else %} -

{% trans "Something went wrong." %}

+

+ {% blocktrans %}Be aware: Generating the file can take a while. + Please be patient, or bookmark this page and come back later.{% endblocktrans %} +

+
+ {% else %} +

{% trans "Something went wrong." %}

-
- {% url 'suggest' as s %} -

{% blocktrans %}Something seems to have gone wrong while generating your file. - Please order it again or complain to us about it.{% endblocktrans %}

-
- {% endif %} -{% endif %} - +
+ {% url 'suggest' as s %} +

+ {% blocktrans %}Something seems to have gone wrong while generating your file. + Please order it again or complain to us about it.{% endblocktrans %} +

+
+ {% endif %} + {% endif %} {% endblock %} {% block extrabody %} -{% if waiting %} - -{% endif %} + }); + })(jQuery); + //--> + + {% endif %} {% endblock %}