Update template to use initiator.
[matthijs/projects/xerxes.git] / templates / influences / character_detail_block.html
1 {% load i18n %}
2 <h1>{{ object.name }}</h1>
3 {% ifequal object.status "N" %}
4 <em>{% trans "This character was not yet approved by the SLs" %}</em>
5 {% else %}
6 <em>{% trans "This character is approved by the SLs" %}</em>
7 {% endifequal %}
8
9 <h2>{% blocktrans with object.name as name %}Influences initiated by {{ name }}{% endblocktrans %}</h2>
10 <ul>
11 {% for influence in object.initiated_influences.all %}
12         <li><a href="{% url influences_influence_detail influence.pk %}">{{ influence }}</a></li>
13 {% endfor %}
14 </ul>
15
16 <a href="{% url influences_add_influence_for_character object.id %}">{% trans "Submit influence" %}</a>