X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/410bfa05ee36ed1d99356c443a5f3f6aa3ee9578..e6a05ab54f6eea95902b7e9d12858de123e39d17:/forum/skins/default/templates/node/comments.html diff --git a/forum/skins/default/templates/node/comments.html b/forum/skins/default/templates/node/comments.html index 571fd24..3457aab 100644 --- a/forum/skins/default/templates/node/comments.html +++ b/forum/skins/default/templates/node/comments.html @@ -1,6 +1,63 @@ {% load extra_tags %} {% load i18n %} +
+
+ {% if can_comment %} +
+ {% csrf_token %} +
+ +
+ + {{ min_length }}|{{ max_length }} + {% trans "characters needed" %} + {% trans "characters left" %} + + + +
+
+ {% if user.can_use_canned_comments %} +
+ + {% trans "Use canned comment" %} + + +
+ {% endif %} +
+ +
+ {% endif %} +
+
+
{% for comment in comments %} @@ -19,10 +76,18 @@ {% endif %} {% if comment.can_delete %} + class="ajax-command comment-delete confirm" rel="nofollow"> {% endif %} + {% if comment.can_convert %} + + + {% endif %} + + ({% diff_date comment.added_at %}) - {{comment.user}} + {{comment.user.decorated_name}} {% if show_gravatar %}{% gravatar comment.user 18 %}{% endif %}
@@ -33,45 +98,9 @@ {% blocktrans %}showing {{ showing }} of {{ total }}{% endblocktrans %} - {% trans "show all" %} + {% blocktrans %}show {{ more_comments_count }} more comments{% endblocktrans %} {% endifnotequal %} {% if can_comment %} {% trans "add new comment" %} {% endif %} -{% if can_comment %} -
-
-
- -
- - {{ min_length }}|{{ max_length }} - {% trans "characters to go" %} - {% trans "characters left" %} - - - -
-
- -
-
-{% endif %} - \ No newline at end of file