X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Finfluence_detail_block.html;h=cc78c47fb7491019e18c4b1b4d75d914740cbbe2;hb=6e0ad555b25c2d9f3f28726f797edb3a51783af2;hp=d2c1c3ae9dee48b13ad88a86490f52826aaf0ff7;hpb=446863beb7917b1e598d786e52e28d20a9119a86;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/influences/influence_detail_block.html b/templates/influences/influence_detail_block.html index d2c1c3a..cc78c47 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 }} +
    + + +
+
+