summaryrefslogtreecommitdiff
path: root/design/templates/comments/posted.html
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
committerlxf <sng@luxagraf.net>2021-11-06 09:42:47 -0400
commitd9f51299809bfb6b3ac589b7c42016d0ef240299 (patch)
treeaa5f945e82fdbf1b66aca82fe5122f6ff5a12eb9 /design/templates/comments/posted.html
parentdde9914dbbc6cda18ba59024065727c8dc6bcdf4 (diff)
moved templates to top level directory
Diffstat (limited to 'design/templates/comments/posted.html')
-rw-r--r--design/templates/comments/posted.html40
1 files changed, 0 insertions, 40 deletions
diff --git a/design/templates/comments/posted.html b/design/templates/comments/posted.html
deleted file mode 100644
index de9aa9e..0000000
--- a/design/templates/comments/posted.html
+++ /dev/null
@@ -1,40 +0,0 @@
-{% extends "base.html" %}
-{% load i18n %}
-{%block htmlclass%}class="detail"{%endblock%}
-{% 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);
- {% if not comment.content_object.get_absolute_url %}
- window.location="/";
- {% else%}
- window.location="{{comment.content_object.get_absolute_url}}";{%endif%}
- }
- };
-
- cinterval = setInterval(timeDec, 1000);
-})();
-
-</script>
-{% endblock %}
-{% block primary %}
-<main>
- <article class="content">
- <header class="post-header">
- <h1 class="post-title">Thank you for your comment</h1>
- </header>
- <div class="post-article">
- <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>
- </div>
- </article>
-</main>
-{% endblock %}