mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 08:33:49 +00:00
allow report edit w/ scope + add deny statements
[ci skip]
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<tr>
|
||||
<th>{{ 'Date' | trans }}</th>
|
||||
<th>{{ 'Report type' | trans }}</th>
|
||||
<!-- <th>{{ 'Report scope' | trans }}</th> -->
|
||||
<th>{{ 'Report scope' | trans }}</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
@@ -36,7 +36,7 @@
|
||||
<tr>
|
||||
<td>{% if report.date %}{{ report.date|localizeddate('long', 'none') }}{% endif %}</td>
|
||||
<td>{{ report.cFGroup.getName(app.request.locale) }}</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>
|
||||
|
Reference in New Issue
Block a user