Mercurial > getan > getan
view getan/templates/wochenbericht @ 553:1a179ed1c9d7
Improve getan-report templates
* Move zeiterfassung-hierarchy1 to zeiterfassung-hierarchy2 to be more
consistent with zeiterfassung and zeiterfassung2.
* Add a new template which does not group the comments of entries
as zeiterfassung-hierarchy1.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Fri, 14 Feb 2020 14:56:18 +0100 |
parents | 58537062fe74 |
children |
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|sort(attribute='start') -%} {{ entry.get_comment() }} {% endfor -%} # total time: {{ proj.get_total_duration()|human_time }}h {% endfor %} # total: {{ total_time|human_time }}h