dynamically update title and visible durations for running records (#752)

This commit is contained in:
Kevin Papst
2019-05-05 03:01:25 +02:00
committed by GitHub
parent 65df1ff909
commit aa113cc300
14 changed files with 486 additions and 281 deletions

View File

@@ -19,7 +19,10 @@
</div>
<h4>
<span>{{ entry.activity.name }}</span>
<small><i class="{{ 'timesheet'|icon }}"></i> {{ entry|duration }}</small>
<small>
<i class="{{ 'timesheet'|icon }}"></i>
<span data-title="true" data-since="{{ entry.begin.format(constant('DATE_ISO8601')) }}" data-format="{{ get_format_duration() }}">{{ entry|duration }}</span>
</small>
</h4>
<p>{{ entry.project.name }} ({{ entry.project.customer.name }})</p>
</a>