view getan/templates/zeiterfassung @ 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
children a91cd3a13637
line wrap: on
line source
{% 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)