X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6280673f35e13e75e81c5b7821bd2a44a1831eab..357027375ff8867f42ca34bcbfb5a78b5b185fc3:/src/waiter/templates/waiter/wait.html diff --git a/src/waiter/templates/waiter/wait.html b/src/waiter/templates/waiter/wait.html new file mode 100644 index 000000000..6ef1b7751 --- /dev/null +++ b/src/waiter/templates/waiter/wait.html @@ -0,0 +1,93 @@ +{% extends "base.html" %} +{% load i18n %} +{% load static from staticfiles %} + +{% block titleextra %} +{% if file_url %} + {% trans "The file is ready for download!" %} +{% else %} + {% if waiting %} + {% trans "Your file is being prepared, please wait." %} + {% else %} + {% trans "Something went wrong." %} + {% endif %} +{% endif %} +{% endblock %} + + +{% block extrahead %} +{% if file_url %} + +{% else %} + {% if waiting %} + + {% endif %} +{% endif %} +{% endblock %} + + +{% block body %} +{% if file_url %} +
{% blocktrans %}Your file is ready! + If the download doesn't start in a few seconds, + feel free to use this direct link.{% endblocktrans %}
+{% 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 %} +{% blocktrans %}Something seems to have gone wrong while generating your file. + Please order it again or complain to us about it.{% endblocktrans %}
+