From c007cb69dac6268e1dd4a772ea56623b0a01367c Mon Sep 17 00:00:00 2001
From: luxagraf
Date: Thu, 25 Oct 2018 14:42:17 +0000
Subject: pulled stats from base template, fix layout bug in comments templates
---
design/templates/comments/posted.html | 16 +++++---
design/templates/comments/preview.html | 68 ++++++++++++++++++----------------
2 files changed, 47 insertions(+), 37 deletions(-)
(limited to 'design/templates/comments')
diff --git a/design/templates/comments/posted.html b/design/templates/comments/posted.html
index f4aee46..9a478cf 100644
--- a/design/templates/comments/posted.html
+++ b/design/templates/comments/posted.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% load i18n %}
+{%block htmlclass%}class="detail"{%endblock%}
{% block js %}
{% endblock %}
{% block primary %}
-
- Thank you for your comment
- 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.
- Return to the page you came from Redirecting in 5
-
-
+
+
+
+ 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.
+ Return to the page you came from Redirecting in 5
+
+
{% endblock %}
diff --git a/design/templates/comments/preview.html b/design/templates/comments/preview.html
index 58eba01..8129658 100644
--- a/design/templates/comments/preview.html
+++ b/design/templates/comments/preview.html
@@ -1,38 +1,44 @@
{% extends "base.html" %}
{% load i18n %}
+{%block htmlclass%}
+class="detail"{%endblock%}
{% block primary %}
-
-
- {% load comments %}
-
- {% endif %}
- {% for field in form %}
- {% if field.is_hidden %}
- {{ field }}
- {% else %}
- {% if field.errors %}{{ field.errors }}{% endif %}
-
- {{ field.label_tag }} {{ field }}
-
- {% endif %}
- {% endfor %}
-
-
-
-
-
-
+
+
+
+ {% load comments %}
+
+
+
{% endblock %}
--
cgit v1.2.3