* Let all the influences templates extend the base template.
[matthijs/projects/xerxes.git] / templates / influences / character_detail.html
index 56c60cd50bcc18528abe6438c6b7dc233919cfe1..f5071c23b6532bf0d0a0b8ab03df094e280a528e 100644 (file)
@@ -1,9 +1,16 @@
-<h1>{{ object.name }}</h1>
-Influences voor {{ object.name }}
+{% load i18n %}
+{% extends "base/base.html" %}
+
+{% block content %}
+
+<h2>{{ object.name }}</h2>
+<h3>{% blocktrans with object.name as name %}Influences for {{ name }}{% endblocktrans %}</h3>
 <ul>
 {% for influence in object.influence_set.objects.all %}
        <li>{{ influence }}</li>
 {% endfor %}
 </ul>
 
-<a href="/influences/character/{{ object.id }}/addinfluence">Influence toevoegen</a>
+<a href="../../add/{{ object.id }}">{% trans "Submit influence" %}</a>
+
+{% endblock %}