X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Finfluence_comments_block.html;h=462d2b7a44e8ea1d04cf82628b544380f858d53b;hb=51d871cc825c454a819fb6f73b6d0840679efaac;hp=5392d2f2db3938117e11315dc3f2c1353f2762f0;hpb=b582ec094af334aa50ad25fb3c7214ad2ab1ff71;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/influences/influence_comments_block.html b/templates/influences/influence_comments_block.html index 5392d2f..462d2b7 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 }} +
+ + + +
@@ -43,10 +48,14 @@

{% trans "Add comment" %}

Cancel comment

- - {{ comment_form.as_table }} -
-
- {# #} + {{ comment_form.comment.label_tag }} + {{ comment_form.comment }}
+ {{ comment_form.is_public }} + {{ comment_form.is_public.label_tag }} +
+ + + +