* Split off the detail and list templates into a normal one that generates a full...
[matthijs/projects/xerxes.git] / templates / influences / index.html
index 0e5ab70c7ed0cb0695eaef79319c9f9991e08f6d..02596e1550cdc9801760bcaedb4354159b051cc3 100644 (file)
@@ -1,9 +1,15 @@
+{% extends "base/base.html" %}
+
+{% block content %}
+
+{% with characters as object_list %}
+{% include "influences/character_list_block.html" %}
+{% endwith %}
+
 {% if characters %}
-       <ul>
-       {% for character in characters %}
-               <li><a href="character/{{ character.id }}/">{{ character.name }}</a></li>
-       {% endfor %}
-       </ul>
-{% else %}
-       <p>Geen karakters.</p>
+{% with influences as object_list %}
+{% include "influences/influence_list_block.html" %}
+{% endwith %}
 {% endif %}
+
+{% endblock %}