X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Finfluence_comments_block.html;h=6b0dd51597ca693c5e83293a5b41fd06bc077042;hb=60cf2b9beceddc413d686541c4c4f207bc8cd3a2;hp=255482ae2ec5811f41c318b1ae20c85b955163b7;hpb=f607c7e7d713bc79c40523e0ed061c0ee1c3b3bb;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/influences/influence_comments_block.html b/templates/influences/influence_comments_block.html index 255482a..6b0dd51 100644 --- a/templates/influences/influence_comments_block.html +++ b/templates/influences/influence_comments_block.html @@ -1,23 +1,23 @@ {% load i18n %} {% load threadedcommentstags %} -{% if comments %} - + function hideReply(comment_id) { + YAHOO.util.Dom.setStyle('replyForm' + comment_id, 'display', 'none'); + YAHOO.util.Dom.setStyle('replyLink' + comment_id, 'display', 'block'); + } + +{% if comments %} {% for comment in comments %}
- {{ comment.user }} said:
- {% auto_transform_markup comment %} + {{ comment.user }} said: +
{% auto_transform_markup comment %}
@@ -25,10 +25,15 @@

{% trans "Cancel reply" %}

- - {{ comment.reply_form.as_table }} -
-
+ {{ comment.reply_form.comment.label_tag }} + {{ comment.reply_form.comment }}
+ {{ comment.reply_form.is_public }} + {{ comment.reply_form.is_public.label_tag }} +
+ + + +
@@ -36,3 +41,21 @@ {% else %} {% trans "No comments were added yet" %} {% endif %} + + +
+ +

{% trans "Add comment" %}

+
+

Cancel comment

+ {{ comment_form.comment.label_tag }} + {{ comment_form.comment }}
+ {{ comment_form.is_public }} + {{ comment_form.is_public.label_tag }} +
+ + + +
+
+