improvements

This commit is contained in:
Kevin Papst
2016-10-27 08:13:59 +02:00
parent b72fd888b1
commit 55ac11d517
12 changed files with 297 additions and 109 deletions

View File

@@ -9,20 +9,22 @@
<table class="table table-striped">
<thead>
<tr>
<th><i class="fa fa-calendar"></i> {{ 'label.name'|trans }}</th>
<th><i class="fa fa-hourglass-start"></i> {{ 'label.comment'|trans }}</th>
<th><i class="fa fa-hourglass-end"></i> {{ 'label.visible'|trans }}</th>
<th><i class="fa fa-clock-o"></i> {{ 'label.id'|trans }}</th>
<th>{{ 'label.id'|trans }}</th>
<th><i class="fa fa-bookmark-o"></i> {{ 'label.name'|trans }}</th>
<th><i class="fa fa-comment-o"></i> {{ 'label.comment'|trans }}</th>
<th><i class="fa fa-eye"></i> {{ 'label.visible'|trans }}</th>
<th><i class="fa fa-tasks"></i> {{ 'label.activity'|trans }}</th>
<th><i class="fa fa-credit-card"></i> {{ 'label.budget'|trans }}</th>
</tr>
</thead>
<tbody>
{% for entry in entries %}
<tr>
<td>{{ entry.id }}</td>
<td>{{ entry.name }}</td>
<td>{{ entry.comment }}</td>
<td>{{ entry.visible }}</td>
<td>{{ entry.projectId }}</td>
<td>{{ widgets.badge_visible(entry.visible) }}</td>
<td>{{ widgets.badge_counter(entry.activities.count) }}</td>
<td>{{ entry.budget}}</td>
</tr>
{% endfor %}
@@ -30,7 +32,7 @@
</table>
<div class="navigation text-center">
{{ pagerfanta(entries, 'twitter_bootstrap3_translated', { routeName: 'timesheet_paginated' }) }}
{{ pagerfanta(entries, 'twitter_bootstrap3_translated', { routeName: 'admin_project_paginated' }) }}
</div>
{% else %}
{{ widgets.callout('warning', 'error.no_entries_found') }}