changeset 361:2373618e787d

Add a improved template for a wochenbericht
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 03 Mar 2014 15:00:20 +0100
parents 1b190fa27482
children 90c09cca49c3
files getan/templates/wochenbericht
diffstat 1 files changed, 14 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/getan/templates/wochenbericht	Mon Mar 03 14:59:42 2014 +0100
+++ b/getan/templates/wochenbericht	Mon Mar 03 15:00:20 2014 +0100
@@ -1,1 +1,14 @@
-{{ user }}, (KW {{ week }}, {{ year }})
+{{ user }}, (KW {{ unix_week }}, {{ year }})
+{% for i in user -%}
+=
+{%- endfor -%}
+===============
+
+{% for proj in projects %}
+# {{ proj.desc }}
+{% for entry in proj.entries -%}
+{{ entry.get_comment() }}
+{% endfor -%}
+# total time: {{ proj.get_total_duration()|human_time }}h
+{% endfor %}
+# total: {{ total_time|human_time }}h
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)