diff getan/templates/zeiterfassung-hierarchy1 @ 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 91aaf455c44e
children 1a179ed1c9d7
line wrap: on
line diff
--- a/getan/templates/zeiterfassung-hierarchy1	Fri Jan 31 16:50:07 2020 +0100
+++ b/getan/templates/zeiterfassung-hierarchy1	Mon Feb 03 15:51:33 2020 +0100
@@ -7,7 +7,7 @@
         in day_entries|sort(attribute='project_id')|groupby('project_id') %}
 
       {%- if project_id == project.id -%}
-{{ day }} {{ (project_day_entries|duration|human_time).rjust(5)
+{{ project_day_entries[0].start|date_format }} {{ (project_day_entries|duration|human_time).rjust(5)
           }}h a {{ user.ljust(3) }} [{{ project.key }}]
         {%- for entry in project_day_entries -%}
             {%- if loop.index == 1 -%}{{ ' ' }}
@@ -18,6 +18,4 @@
       {%- endif -%}
     {%- endfor -%}
   {%- endfor -%}
-# d total: {{ (day_entries|duration|human_time).rjust(5) }}h
-
 {% endfor -%}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)