diff options
author | Martin Green <martin.speleo@gmail.com> | 2011-05-01 19:32:41 +0100 |
---|---|---|
committer | Martin Green <martin.speleo@gmail.com> | 2011-05-01 19:32:41 +0100 |
commit | a26310767ba885bcb403e08f8060f045e4716e08 (patch) | |
tree | 935cdf586e354e94757c1f8dc88584e5f3a491a6 /templates/logbookentry.html | |
parent | d38a767d7ca1b205be82b8cb674746f638f5fb52 (diff) | |
download | troggle-a26310767ba885bcb403e08f8060f045e4716e08.tar.gz troggle-a26310767ba885bcb403e08f8060f045e4716e08.tar.bz2 troggle-a26310767ba885bcb403e08f8060f045e4716e08.zip |
edit logbooks, new logbook format, increased database normalisation
Diffstat (limited to 'templates/logbookentry.html')
-rw-r--r-- | templates/logbookentry.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/logbookentry.html b/templates/logbookentry.html index 03fc37e..19b8a30 100644 --- a/templates/logbookentry.html +++ b/templates/logbookentry.html @@ -45,12 +45,12 @@ <td>
{% if persontrip.persontrip_prev %}
- <a href="{{ persontrip.persontrip_prev.logbook_entry.get_absolute_url }}">{{persontrip.persontrip_prev.date}}</a>
+ <a href="{{ persontrip.persontrip_prev.logbook_entry.get_absolute_url }}">{{persontrip.persontrip_prev.logbook_entry.date}}</a>
{% endif %}
</td>
<td>
{% if persontrip.persontrip_next %}
- <a href="{{ persontrip.persontrip_next.logbook_entry.get_absolute_url }}">{{persontrip.persontrip_next.date}}</a>
+ <a href="{{ persontrip.persontrip_next.logbook_entry.get_absolute_url }}">{{persontrip.persontrip_next.logbook_entry.date}}</a>
{% endif %}
</td>
@@ -69,4 +69,6 @@ </div>
</div>
+{% if logbookentry.filename %}<a href="{% url editlogbookentry year=logbookentry.year pdate=logbookentry.date pslug=logbookentry.slug %}">Edit</a> <a href="{% url deletelogbookentry year=logbookentry.year date=logbookentry.date slug=logbookentry.slug %}">Delete</a>{%endif%}
+
{% endblock %}
|