X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Finfluence_comments_block.html;h=390fce03cb66eab7e94434a0c8f7cc9d20599ace;hb=5064e54a892bf4c9628e4fe0b87ef75db98e5751;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..390fce0 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,10 @@ {{ comment.reply_form.as_table }}
-
+
+ + +
@@ -36,3 +39,19 @@ {% else %} {% trans "No comments were added yet" %} {% endif %} + + +
+ +

{% trans "Add comment" %}

+
+

Cancel comment

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