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

{{ object.summary }}

+

{{ object.summary }}

- - + +{% if object.involved %} + +{% endif %} +{% if object.longterm %} + +{% endif %}
{% trans "Contact" %}:{{ object.contact }}
{% trans "Character" %}{{ object.character }}
{% 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 %}