summaryrefslogtreecommitdiffstats
path: root/templates/logbook2008style.txt
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-06-18 06:53:52 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-06-18 06:53:52 +0100
commitb4a63eca026a31e0f5471d7b37523e3072e2eb1d (patch)
treea3382cddd71e966807fb931d6c29a27915cb4aee /templates/logbook2008style.txt
parent0306723c950296566ef6c6cf3c3add5b605e9855 (diff)
downloadtroggle-b4a63eca026a31e0f5471d7b37523e3072e2eb1d.tar.gz
troggle-b4a63eca026a31e0f5471d7b37523e3072e2eb1d.tar.bz2
troggle-b4a63eca026a31e0f5471d7b37523e3072e2eb1d.zip
[svn] Adding logbook export features. Troggle can now produce .txt or .html logbooks through the controlPanel or via an action in the LogbookEntry admin pages.
Diffstat (limited to 'templates/logbook2008style.txt')
-rw-r--r--templates/logbook2008style.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/logbook2008style.txt b/templates/logbook2008style.txt
new file mode 100644
index 0000000..a7fbea7
--- /dev/null
+++ b/templates/logbook2008style.txt
@@ -0,0 +1,6 @@
+=Expo {{logbook_entries.0.expedition}} logbook ==
+{%for logbook_entry in logbook_entries%}
+==={{logbook_entry.date}} | {{logbook_entry.place}} - {{logbook_entry.title}} | {% for persontrip in logbook_entry.persontrip_set.all %}{{ persontrip.person_expedition.person }} {{ persontrip.person_expedition.time_underground }}, {% endfor %}===
+
+{{logbook_entry.text|safe}}
+{% endfor %} \ No newline at end of file