# HG changeset patch # User Björn Ricks # Date 1393855220 -3600 # Node ID 2373618e787db4dbfc0f777de49b8a16a26f5ed3 # Parent 1b190fa274826c790b6503da4c8f58b941383c5b Add a improved template for a wochenbericht diff -r 1b190fa27482 -r 2373618e787d getan/templates/wochenbericht --- 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