X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Finfluence_detail_block.html;h=21d3755d08d4bb57c5574c3ead730a36d387bdaf;hb=66b085aaa7b0c85b5a13f6692eca63da8a97240f;hp=d2c1c3ae9dee48b13ad88a86490f52826aaf0ff7;hpb=bf8c3434c59c55704ce931a0954bd1e30c4e02f1;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/influences/influence_detail_block.html b/templates/influences/influence_detail_block.html index d2c1c3a..21d3755 100644 --- a/templates/influences/influence_detail_block.html +++ b/templates/influences/influence_detail_block.html @@ -1,4 +1,5 @@ {% load i18n %} +{% load threadedcommentstags %}

{{ object.summary }}

@@ -9,3 +10,57 @@ {% endif %}

{{ object.description }}

+ + +

{% trans "Comments" %}

+{% if comments %} + {% for comment in comments %} +
+ {{ comment.user }} said:
+ {% auto_transform_markup comment %} + +
+ +
+

{% trans "Cancel reply" %}

+
    + + {{ comment.get_reply_form.as_table }} +
    + +
+
+
+
+ {% endfor %} +{% else %} + {% trans "No comments were added yet" %} +{% endif %} + + +
+ +

{% trans "Add comment" %}

+
+

Cancel comment

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