changeset 368:a91cd3a13637

Left-justify user entry in zeiterfassung to three characters (basically the same as 22aa74768d97, but with templating)
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 03 Mar 2014 15:47:13 +0100
parents ea5a171abda7
children c18bd0042eda
files getan/templates/zeiterfassung
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/getan/templates/zeiterfassung	Mon Mar 03 15:31:17 2014 +0100
+++ b/getan/templates/zeiterfassung	Mon Mar 03 15:47:13 2014 +0100
@@ -2,7 +2,7 @@
 {%- 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() }}
+{{ entry.start|date_format}} {{ entry.get_duration()|human_time }}h ? {{ user.ljust(3) }} [{{ entry.get_workpackage() }}] {{ entry.get_comment() }}
 {% endfor -%}
 # total: {{ proj.get_total_duration()|human_time }}h
 {% endif -%}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)