3 {# Note that this template looks quite like character_detail_block, it is #}
4 {# still different enough to not try and factor out the common parts #}
7 <h1>{% trans "Your influences" %}</h1>
9 {% for character in characters %}
10 <h2>{{ character.name }}</h2>
11 {% if character.initiated_influences.all or character.influences_involved_in.all %}
12 {% if character.initiated_influences.all %}
13 <p>{% blocktrans with character.name as name %}Influences initiated by {{ name }}:{% endblocktrans %}</p>
15 {% for influence in character.initiated_influences.all %}
16 <li><a href="{% url influences_influence_detail influence.id %}">{{influence.contact }} -- {{ influence.summary }}</a></li>
20 {% if character.influences_involved_in.all %}
21 <p>{% blocktrans with character.name as name %}Influences {{ name }} is involved in:{% endblocktrans %}</p>
23 {% for influence in character.influences_involved_in.all %}
24 <li><a href="{% url influences_influence_detail influence.id %}">{{influence.contact }} -- {{ influence.summary }}</a></li>
29 <p>{% trans "No influences yet." %}</p>
33 <p>{% trans "No characters. Add a character first, so you can submit your influences." %}</p>
36 <p><a href="{% url influences_add_influence %}">{% trans "Submit influence" %}</a></p>