Mercurial > getan > getan
view getan/templates/wochenbericht @ 374:87cb6c55de1c
Use week in wochenbericht template
unix_week is mostly for calucation with in the database. week should be used
instead to display the current workweek number.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 10 Mar 2014 09:59:56 +0100 |
parents | 2373618e787d |
children | 0ad470c4bf17 |
line wrap: on
line source
{{ user }}, (KW {{ 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