Report View CF

This commit is contained in:
Marc Ducobu
2014-11-12 12:35:57 +01:00
parent db31cf836e
commit 1ab9b44737
2 changed files with 33 additions and 37 deletions

View File

@@ -28,6 +28,7 @@
<th>{{ 'Report Type' | trans }}</th>
<th>{{ 'Report Scope' | trans }}</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
@@ -36,7 +37,8 @@
<td>{% if report.date %}{{ report.date|date('d-m-Y') }}{% endif %}</td>
<td>{{ report.cFGroup.getName(app.request.locale) }}</td>
<td>{{ report.scope }}</td>
<td><a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id }) }}">{{ 'update' | trans }}</a></td>
<td><a href="{{ path('report_show', { 'person_id': report.person.id, 'report_id': report.id }) }}">{{ 'View' | trans }}</a></td>
<td><a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id }) }}">{{ 'Update' | trans }}</a></td>
</tr>
{% endfor %}
</tbody>