changeset 357:f13dc9fd62d5

Add a template for generating the zeiterfassung data
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 03 Mar 2014 14:31:25 +0100
parents 45d97d47a9fe
children 2b2e371b9bed
files getan/templates/zeiterfassung
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/getan/templates/zeiterfassung	Mon Mar 03 14:31:25 2014 +0100
@@ -0,0 +1,10 @@
+{% for proj in projects %}
+{%- if proj.entries %}
+# project: {{ proj.key }} ({{ proj.desc }})
+{% for entry in proj.entries -%}
+{{ entry.start|date_format}} {{ entry.get_duration()|human_time }}h ? {{ user }} [{{ entry.get_workpackage() }}] {{ entry.get_comment() }}
+{% endfor -%}
+# total: {{ proj.get_total_duration()|human_time }}h
+{% endif -%}
+{% endfor %}
+# total all projects: {{ total_time|human_time }}h
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)