[svn] make the person logbooks work

Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8044 by julian @ 10/30/2008 1:13 PM
This commit is contained in:
substantialnoninfringinguser
2009-05-13 05:15:49 +01:00
parent 01073863f3
commit 32e1e6b9ab
6 changed files with 20 additions and 9 deletions

View File

@@ -12,9 +12,11 @@
{{personexpedition.expedition}}
</td><td>
<div>
<ul>
{% for persontrip in personexpedition.persontrip_set.all %}
<a href="/logbook/{{persontrip.logbookentry.id}}">{{persontrip.date}}</a>
<li><a href="/logbookentry/{{persontrip.logbookentry.id}}">{{persontrip.date}}</a> ({{persontrip.logbookentry.place}}) - {{persontrip.logbookentry.title}}</li>
{% endfor %}
<ul>
</div>
</td></tr></table>
</li>

View File

@@ -14,7 +14,7 @@
</td><td>
<div>
{% for persontrip in personexpedition.persontrip_set.all %}
<a href="/logbook/{{persontrip.logbookentry.id}}">{{persontrip.date}}</a>
<a href="/logbookentry/{{persontrip.logbookentry.id}}">{{persontrip.date}}</a>
{% endfor %}
</div>
</td></tr></table>