daily stats in timesheet (#552)

This commit is contained in:
Kevin Papst
2019-02-13 15:36:59 +01:00
committed by GitHub
parent fd60d5bb17
commit 2c6f57c7ce
13 changed files with 95 additions and 41 deletions

View File

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