add scope to search results

This commit is contained in:
Julien Fastré 2015-06-29 23:42:14 +02:00
parent acb3e8bc3d
commit f14255c0fc

View File

@ -25,6 +25,7 @@
<th>{{ 'Person'|trans }}</th>
<th>{{ 'Date'|trans }}</th>
<th>{{ 'Report type'|trans }}</th>
<th>{{ 'Scope'|trans }}</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
</tr>
@ -35,7 +36,7 @@
<td>{{ report.person }}</td>
<td>{% if report.date %}{{ report.date|localizeddate('long', 'none') }}{% endif %}</td>
<td>{{ report.cFGroup.getName|localize_translatable_string }}</td>
<!-- <td>{{ report.scope }}</td> -->
<td>{{ report.scope.name|localize_translatable_string }}</td>
<td><a href="{{ path('report_view', { 'person_id': report.person.id, 'report_id': report.id }) }}">{{ 'View the report' | trans }}</a></td>
<td><a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id }) }}">{{ 'Update the report' | trans }}</a></td>
</tr>