fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move a bunch of things to celery
[wolnelektury.git]
/
apps
/
waiter
/
templates
/
waiter
/
wait.html
diff --git
a/apps/waiter/templates/waiter/wait.html
b/apps/waiter/templates/waiter/wait.html
index
f4dedc7
..
e15bd64
100644
(file)
--- a/
apps/waiter/templates/waiter/wait.html
+++ b/
apps/waiter/templates/waiter/wait.html
@@
-39,7
+39,8
@@
</div>
{% else %}
{% if waiting %}
</div>
{% else %}
{% if waiting %}
- <h1>{% trans "Your file is being prepared, please wait." %}</h1>
+ <h1><img src="{{ STATIC_URL }}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>
<div class="normal-text">
<p>{% blocktrans with d=waiting.description %}The file you requested was: <em>{{d}}</em>.{% endblocktrans %}</p>
@@
-77,8
+78,8
@@
function wait() {
else
setTimeout(wait, 10*1000);
},
else
setTimeout(wait, 10*1000);
},
- error: function() {
-
setTimeout(wait, 10*1000
);
+ error: function(
xhr
) {
+
location.reload(
);
}
});
}
}
});
}