diff --git a/templates/comments/list.html b/templates/comments/list.html index 565de8d..2194f08 100644 --- a/templates/comments/list.html +++ b/templates/comments/list.html @@ -69,14 +69,14 @@ {% else %} - {% endif %} {% if perms.judge.change_comment %} {% if can_edit %} - {% else %} + {% with children=node.get_children() %} {% if children %} @@ -121,7 +122,7 @@ {% endif %} {% if request.user.is_authenticated and comment_form and not comment_lock %} -
+
{% block comment_submit_title %}

{{ _('New comment') }}


@@ -131,7 +132,7 @@ {{ _('You need to have solved at least one problem before your voice can be heard.') }}
{% else %} -
+ {% csrf_token %} {% if comment_form.errors %}
diff --git a/templates/comments/media-css.html b/templates/comments/media-css.html index 85d8337..cda426d 100644 --- a/templates/comments/media-css.html +++ b/templates/comments/media-css.html @@ -99,5 +99,9 @@ -o-transform: translatez(0); transform: translatez(0); } + .reply-comment { + margin: -50px 23px 10px -40px; + padding-top: 50px; + } {% endcompress %} diff --git a/templates/comments/media-js.html b/templates/comments/media-js.html index d938fb7..c4ed03c 100644 --- a/templates/comments/media-js.html +++ b/templates/comments/media-js.html @@ -30,13 +30,27 @@ {% endif %}