projects
/
matthijs
/
projects
/
xerxes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Add wrappers around the generic views, so we can add the @login_required decorator.
[matthijs/projects/xerxes.git]
/
templates
/
influences
/
character_detail.html
diff --git
a/templates/influences/character_detail.html
b/templates/influences/character_detail.html
index 56c60cd50bcc18528abe6438c6b7dc233919cfe1..164310c31524e3d88d6e71569cc249ff61af3367 100644
(file)
--- a/
templates/influences/character_detail.html
+++ b/
templates/influences/character_detail.html
@@
-1,9
+1,16
@@
-<h1>{{ object.name }}</h1>
-Influences voor {{ object.name }}
+{% extends "base/base.html" %}
+{% load i18n %}
+
+{% block content %}
+
+<h2>{{ object.name }}</h2>
+<h3>{% blocktrans with object.name as name %}Influences for {{ name }}{% endblocktrans %}</h3>
<ul>
<ul>
-{% for influence in object.influence_set.
objects.
all %}
- <li>
{{ influence }}
</li>
+{% for influence in object.influence_set.all %}
+ <li>
<a href="{% url influences_influence_detail influence.pk %}">{{ influence }}</a>
</li>
{% endfor %}
</ul>
{% endfor %}
</ul>
-<a href="/influences/character/{{ object.id }}/addinfluence">Influence toevoegen</a>
+<a href="{% url influences_add_influence_for_character object.id %}">{% trans "Submit influence" %}</a>
+
+{% endblock %}