* Split off the detail and list templates into a normal one that generates a full...
[matthijs/projects/xerxes.git] / templates / influences / character_detail.html
index 09afc68bc32aae774684635619f107e26ad36ddf..1f31ec9c61402b72e356158695481bc6ad096c1c 100644 (file)
@@ -1,21 +1,5 @@
 {% extends "base/base.html" %}
-{% load i18n %}
 
 {% block content %}
-
-<h1>{{ object.name }}</h1>
-{% ifequal object.status "N" %}
-<em>{% trans "This character was not yet approved by the SLs" %}</em>
-{% else %}
-<em>{% trans "This character is approved by the SLs" %}</em>
-{% endifequal %}
-<h2>{% blocktrans with object.name as name %}Influences for {{ name }}{% endblocktrans %}</h2>
-<ul>
-{% for influence in object.influence_set.all %}
-       <li><a href="{% url influences_influence_detail influence.pk %}">{{ influence }}</a></li>
-{% endfor %}
-</ul>
-
-<a href="{% url influences_add_influence_for_character object.id %}">{% trans "Submit influence" %}</a>
-
+{% include "influences/character_detail_block.html" %}
 {% endblock %}