X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Finfluence_detail.html;h=5c50b67dce014a8f93495304535d1933d5f155b6;hb=a974141892f10ff9f89908d878d1246f3983fe66;hp=b06ed889d46c82d81c9a52547628d9091d7c437e;hpb=bf8c3434c59c55704ce931a0954bd1e30c4e02f1;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/influences/influence_detail.html b/templates/influences/influence_detail.html index b06ed88..5c50b67 100644 --- a/templates/influences/influence_detail.html +++ b/templates/influences/influence_detail.html @@ -1,6 +1,34 @@ {% extends "base/base.html" %} {% load i18n %} +{% load list %} +{% load misc %} {% block content %} -{% include "influences/influence_detail_block.html" %} +

{{ object.summary }}

+ + +{% if object.involved %} + +{% endif %} +{% if object.longterm %} + +{% endif %} +
{% trans "Iniator" %}:{{ object.initiator }}
{% trans "Involved" %}: +{{ object.involved|list_or_value }}
{% trans "Long term" %}:{{ object.longterm|yesno|capfirst }}
+

{{ object.description }}

+{# Show all related players, except for the current user #} +{% with object.related_players|remove_item:user as players %} + {% if players %} + {% trans "Note: This influence (and its comments) can also be viewed by:" %} + + {% endif %} +{% endwith %} +

{% trans "Comments" %}

+{% block comments %} +{% include "influences/influence_comments_block.html" %} +{% endblock %} {% endblock %}