projects
/
matthijs
/
projects
/
xerxes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4290e24
)
* Make the "influences for this character" list in a character detail work.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Fri, 1 Feb 2008 10:03:50 +0000
(11:03 +0100)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Fri, 1 Feb 2008 10:03:50 +0000
(11:03 +0100)
templates/influences/character_detail.html
patch
|
blob
|
history
diff --git
a/templates/influences/character_detail.html
b/templates/influences/character_detail.html
index b95a884eb2a1daabb32e6d3b35a22b3286bdd566..164310c31524e3d88d6e71569cc249ff61af3367 100644
(file)
--- a/
templates/influences/character_detail.html
+++ b/
templates/influences/character_detail.html
@@
-6,8
+6,8
@@
<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>