diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 06:02:42 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-13 06:02:42 +0100 |
commit | 91e4f0f8c0f4daa8434d21e2a0240718e4000187 (patch) | |
tree | 15cb22d117f89539c4fec54b38eaca56bcbbd215 /templates/logbookentry.html | |
parent | 64000dda37ed3595603fc724a7653816516f65a7 (diff) | |
download | troggle-91e4f0f8c0f4daa8434d21e2a0240718e4000187.tar.gz troggle-91e4f0f8c0f4daa8434d21e2a0240718e4000187.tar.bz2 troggle-91e4f0f8c0f4daa8434d21e2a0240718e4000187.zip |
[svn] Reverted the reverts from 8267. Fixed the next / previous trip in personexpedition on the LogbookEntry template -- I had misunderstood what this was supposed to do last time I messed with it. This involved adding the methods PersonTrip.get_persons_next_trip and persons_previous_trip. Couldn't find any other broken things.
Kept the productive changes in 8267: extending the logbook parsing back to 1993, changing index page, changes to view_surveys.py
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8274 by aaron @ 3/14/2009 8:38 AM
Diffstat (limited to 'templates/logbookentry.html')
-rw-r--r-- | templates/logbookentry.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/logbookentry.html b/templates/logbookentry.html index 2148102..5b972e8 100644 --- a/templates/logbookentry.html +++ b/templates/logbookentry.html @@ -44,13 +44,13 @@ </td>
<td>
- {% if persontrip.persontrip_prev %}
- <a href="{{ persontrip.persontrip_prev.logbook_entry.get_absolute_url }}">{{persontrip.persontrip_prev.date}}</a>
+ {% 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>
{% endif %}
</td>
<td>
- {% if persontrip.persontrip_next %}
- <a href="{{ persontrip.persontrip_next.logbook_entry.get_absolute_url }}">{{persontrip.persontrip_next.date}}</a>
+ {% 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>
{% endif %}
</td>
</tr>
|