diff options
author | goatchurch <devnull@localhost> | 2009-07-27 13:42:54 +0100 |
---|---|---|
committer | goatchurch <devnull@localhost> | 2009-07-27 13:42:54 +0100 |
commit | 68060d6118b47c54c34004b97ef13d5200cdd401 (patch) | |
tree | d557d0213a729237778dbf8192a2f3145795d890 /templates/logbookentry.html | |
parent | ddbdc73e7eef3f63e8cd32172f6559759b896388 (diff) | |
download | troggle-68060d6118b47c54c34004b97ef13d5200cdd401.tar.gz troggle-68060d6118b47c54c34004b97ef13d5200cdd401.tar.bz2 troggle-68060d6118b47c54c34004b97ef13d5200cdd401.zip |
[svn] some file reading things
Diffstat (limited to 'templates/logbookentry.html')
-rw-r--r-- | templates/logbookentry.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/logbookentry.html b/templates/logbookentry.html index 9e632a4..578786f 100644 --- a/templates/logbookentry.html +++ b/templates/logbookentry.html @@ -44,15 +44,16 @@ </td>
<td>
- {% if persontrip.get_previous_by_date %}
- <a href="{{ persontrip.get_persons_previous_trip.logbook_entry.get_absolute_url }}">{{persontrip.get_persons_previous_trip.date}}</a>
+ {% if persontrip.persontrip_prev %}
+ <a href="{{ persontrip.persontrip_prev.logbook_entry.get_absolute_url }}">{{persontrip.persontrip_prev.date}}</a>
{% endif %}
</td>
<td>
- {% if persontrip.get_persons_next_trip %}
- <a href="{{ persontrip.get_persons_next_trip.logbook_entry.get_absolute_url }}">{{persontrip.get_persons_next_trip.date}}</a>
+ {% if persontrip.persontrip_next %}
+ <a href="{{ persontrip.persontrip_next.logbook_entry.get_absolute_url }}">{{persontrip.persontrip_next.date}}</a>
{% endif %}
</td>
+
</tr>
{% endfor %}
</table>
|