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 | 694fe4b4d8325a62489ac5142942fd61598a7612 (patch) | |
tree | 7f42e88ab188bca7a5298434fe0cd90bf13b567e /templates/logbookentry.html | |
parent | dc30f80ce45f98b1c310b75391833214bf7d076f (diff) | |
download | troggle-694fe4b4d8325a62489ac5142942fd61598a7612.tar.gz troggle-694fe4b4d8325a62489ac5142942fd61598a7612.tar.bz2 troggle-694fe4b4d8325a62489ac5142942fd61598a7612.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>
|