X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Finfluence_detail_block.html;h=e9e33d0aa7376378fb39dd05975e5c474d35d6e8;hb=891f525314b12532142c1d9e195d17b0244486be;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..e9e33d0 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,55 @@ {% endif %}

{{ object.description }}

+ + +

{% trans "Comments" %}

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

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 }} +
    + + {# #} +
+
+