added export module (#538)

This commit is contained in:
Kevin Papst
2019-02-05 21:37:33 +01:00
committed by GitHub
parent 062735c9e3
commit 816866549c
104 changed files with 3770 additions and 608 deletions

View File

@@ -18,7 +18,12 @@
<i class="{{ 'stop-small'|icon }} fa-2x"></i>
</div>
<h4>
{{ entry.activity.name }}
{# TODO find a CSS solution for this #}
{% if entry.activity.name|length > 23 %}
{{ entry.activity.name|slice(0,20) }}...
{% else %}
{{ entry.activity.name }}
{% endif %}
<small><i class="{{ 'timesheet'|icon }}"></i> {{ entry|duration }}</small>
</h4>
<p>{{ entry.project.name }} ({{ entry.project.customer.name }})</p>