X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=templates%2Finfluences%2Finfluence_detail.html;h=12ec468123e38525ad3d169f6a97f3b9e498ad68;hb=884bf66b55546555bfd3df318b9318e8358b02cf;hp=61547ea59935c3699326f4d5816c51ce20195c56;hpb=1fcd4a51b1cce2914a57d2cd125bf57b8975af78;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/templates/influences/influence_detail.html b/templates/influences/influence_detail.html index 61547ea..12ec468 100644 --- a/templates/influences/influence_detail.html +++ b/templates/influences/influence_detail.html @@ -1,17 +1,36 @@ {% extends "base/base.html" %} {% load i18n %} +{% load list %} +{% load misc %} {% block content %}
{% 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:" %} +{{ object.result }}
+{% endif %}