From 99b4cc2a755afe7fd2e772e76d6e5385a9440bd2 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Fri, 12 Feb 2021 09:26:42 -0500 Subject: templates: fixed some bugs with comment posting --- design/sass/screenv10.scss | 2 +- design/templates/comments/posted.html | 4 +++- design/templates/comments/preview.html | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'design') diff --git a/design/sass/screenv10.scss b/design/sass/screenv10.scss index 0eb1655..20baf77 100644 --- a/design/sass/screenv10.scss +++ b/design/sass/screenv10.scss @@ -1286,7 +1286,7 @@ pre{ .comment-form-wrapper input[type="submit"] { display: block; - width: 100px; + width: auto; margin-left: 10px; } .comment-card-wrapper:after { diff --git a/design/templates/comments/posted.html b/design/templates/comments/posted.html index e5fed65..de9aa9e 100644 --- a/design/templates/comments/posted.html +++ b/design/templates/comments/posted.html @@ -27,12 +27,14 @@ {% 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

+
{% endblock %} diff --git a/design/templates/comments/preview.html b/design/templates/comments/preview.html index 164b724..9e27c81 100644 --- a/design/templates/comments/preview.html +++ b/design/templates/comments/preview.html @@ -7,14 +7,14 @@ class="detail"{%endblock%} {% block primary %}
-
+

{% trans "Preview your comment" %}

{% load comments %} -
-
+
+
{% csrf_token %} {% if next %}
{% endif %} {% if form.errors %} -- cgit v1.2.3