mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
show -> view
This commit is contained in:
@@ -23,9 +23,9 @@ report_list:
|
||||
person:
|
||||
order: 101
|
||||
label: Report list
|
||||
report_show:
|
||||
path: /person/{person_id}/report/{report_id}/show
|
||||
defaults: { _controller: "ChillReportBundle:Report:show" }
|
||||
report_view:
|
||||
path: /person/{person_id}/report/{report_id}/view
|
||||
defaults: { _controller: "ChillReportBundle:Report:view" }
|
||||
|
||||
report_edit:
|
||||
path: /person/{person_id}/report/{report_id}/edit
|
||||
|
@@ -37,7 +37,7 @@
|
||||
<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_show', { 'person_id': report.person.id, 'report_id': report.id }) }}">{{ 'View' | trans }}</a></td>
|
||||
<td><a href="{{ path('report_view', { '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 %}
|
||||
|
Reference in New Issue
Block a user