X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/0bf7a855000b99350fce021dc8fe1bf59ceece20..9a977e5ab9fbc074e28aeb85c90a8707ffd66158:/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 79f4df0..41a97aa 100644 --- a/forum/skins/default/templates/node/comments.html +++ b/forum/skins/default/templates/node/comments.html @@ -4,39 +4,39 @@
{% for comment in comments %} - - - - - - - - -
- {% if comment.score %}{{ comment.score }}{% endif %} - - {{ comment.body }} -
- {{comment.user}} - ({% diff_date comment.added_at %}) - {% if comment.can_like %} - - {% endif %} - {% if comment.can_edit %} - - {% endif %} - {% if comment.can_delete %} - - {% endif %} -
+
+
{% if comment.score %}{{ comment.score }}{% endif %}
+
{{ comment.comment }}
+
+ {% if comment.can_like %} + + {% endif %} + {% if comment.can_edit %} + + {% endif %} + {% if comment.can_delete %} + + {% endif %} + {% if comment.can_convert %} + + + {% endif %} + + + ({% diff_date comment.added_at %}) + {{comment.user.decorated_name}} + {% if show_gravatar %}{% gravatar comment.user 18 %}{% endif %} +
+
{% endfor %}
- {% ifnotequal showing total %} {% blocktrans %}showing {{ showing }} of {{ total }}{% endblocktrans %} @@ -47,37 +47,58 @@ {% trans "add new comment" %} {% endif %}
-{% if can_comment %}
-
+ {% 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 %}
- - {% blocktrans %} - have {{ max_length }} characters left - {% endblocktrans %} -
+ {% endif %}
-{% endif %} - \ No newline at end of file +