blob: f4aee460906f595462541f921c6a0e3e762d8b1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{% extends "base.html" %}
{% load i18n %}
{% block js %}
<script type="text/javascript">
(function () {
var timeLeft = 5,
cinterval;
var timeDec = function (){
timeLeft--;
document.getElementById('countdown').innerHTML = timeLeft;
if(timeLeft === 0){
clearInterval(cinterval);
window.location="{{comment.content_object.get_absolute_url}}";
}
};
cinterval = setInterval(timeDec, 1000);
})();
</script>
{% endblock %}
{% block primary %}
<main role="main">
<h1>Thank you for your comment</h1>
<p>Unless you've previously been approved a few times, your comment will be moderated. If we're on the road this can sometimes take a few days, so please be patient.</p>
<p><a href="{{comment.content_object.get_absolute_url}}">Return to the page you came from</a> Redirecting in <span id="countdown">5</span></p>
</main>
{% endblock %}
|