Mercurial > getan > getan
view getan/templates/zeiterfassung @ 549:413cabeca333
Improve templates/zeiterfassung-hierarchy1
* Remove daily summary line and match the German date formatting.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Mon, 03 Feb 2020 15:51:33 +0100 |
parents | 0ad470c4bf17 |
children |
line wrap: on
line source
{% for proj in projects %} {%- if proj.entries %} # project: {{ proj.key }} ({{ proj.desc }}) {% for entry in proj.entries|sort(attribute='start') -%} {{ entry.start|date_format}} {{ (entry.get_duration()|human_time).rjust(5) }}h ? {{ user.ljust(3) }} [{{ 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