diff options
Diffstat (limited to 'templates/person.html')
-rw-r--r-- | templates/person.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/person.html b/templates/person.html index 2bd4ed3..bfc9c5c 100644 --- a/templates/person.html +++ b/templates/person.html @@ -31,7 +31,10 @@ <p>
<ul>
{% for personexpedition in person.personexpedition_set.all %}
- <li> <a href="{{ personexpedition.get_absolute_url }}">{{personexpedition.expedition.year}}</a></li>
+ <li> <a href="{{ personexpedition.get_absolute_url }}">{{personexpedition.expedition.year}}</a>
+ <span style="padding-left:{{personexpedition.persontrip_set.all|length}}0px; background-color:red"></span>
+ {{personexpedition.persontrip_set.all|length}} trips
+</li>
{% endfor %}
</ul>
</p>
|