Only show a list of involved when there are multiple.
[matthijs/projects/xerxes.git] / templates / influences / influence_detail.html
1 {% extends "base/base.html" %}
2 {% load i18n %}
3 {% load list %}
4
5 {% block content %}
6 <h1>{{ object.summary }}</h1>
7 <table>
8 <tr><td>{% trans "Iniator" %}:</td><td><a href="{% url influences_character_detail object.initiator.id %}">{{ object.initiator }}</a></td></tr>
9 {% if object.involved %}
10 <tr><td>{% trans "Involved" %}:</td><td>
11 {{ object.involved|list_or_value }}</td></tr>
12 {% endif %}
13 {% if object.longterm %}
14 <tr><td>{% trans "Long term" %}:</td><td>{{ object.longterm|yesno|capfirst }}</td></tr>
15 {% endif %}
16 </table>
17 <p>{{ object.description }}</p>
18                 
19 <h2>{% trans "Comments" %}</h2>
20 {% block comments %}
21 {% include "influences/influence_comments_block.html" %}
22 {% endblock %}
23 {% endblock %}