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 31279853ece8db5e417db1587797037e2e8437df..164310c31524e3d88d6e71569cc249ff61af3367 100644
(file)
--- a/
templates/influences/character_detail.html
+++ b/
templates/influences/character_detail.html
@@
-6,11
+6,11
@@
<h2>{{ object.name }}</h2>
<h3>{% blocktrans with object.name as name %}Influences for {{ name }}{% endblocktrans %}</h3>
<ul>
<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>
+{% 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="
../../add/{{ object.id }
}">{% trans "Submit influence" %}</a>
+<a href="
{% url influences_add_influence_for_character object.id %
}">{% trans "Submit influence" %}</a>
{% endblock %}
{% endblock %}