X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Finfluence_comments_block.html;h=430ed7135cb11bdb6a0b7bff29fbd64fcf702062;hb=4c74be8dbb62625ebea3362db80830fc4705bb2e;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..430ed71 100644 --- a/templates/influences/influence_comments_block.html +++ b/templates/influences/influence_comments_block.html @@ -1,19 +1,19 @@ {% 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:
@@ -28,7 +28,11 @@ {{ comment.reply_form.as_table }}
-
+
+ + + +
@@ -36,3 +40,20 @@ {% else %} {% trans "No comments were added yet" %} {% endif %} + + +
+ +

{% trans "Add comment" %}

+
+

Cancel comment

+ + {{ comment_form.as_table }} +
+
+ + + +
+
+