From a974141892f10ff9f89908d878d1246f3983fe66 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Fri, 16 Jan 2009 22:25:18 +0100 Subject: [PATCH] List the users that can view an Influence. --- templates/influences/influence_detail.html | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/templates/influences/influence_detail.html b/templates/influences/influence_detail.html index ac3235c..5c50b67 100644 --- a/templates/influences/influence_detail.html +++ b/templates/influences/influence_detail.html @@ -1,6 +1,7 @@ {% extends "base/base.html" %} {% load i18n %} {% load list %} +{% load misc %} {% block content %}

{{ object.summary }}

@@ -15,7 +16,17 @@ {% endif %}

{{ 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" %} -- 2.30.2