mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 19:13:49 +00:00
apply timeline for report
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<div class="report_entry">
|
||||
<h3>{{ report.date|format_date('long') }}<span class="report"> / {{ 'Report'|trans }}</span></h3>
|
||||
<h3>{{ report.date|format_date('long') }}<span class="report"> / {{ 'Report'|trans }}</span>{% if 'person' != context %} / {{ report.person|chill_entity_render_box }}{% endif %}</h3>
|
||||
<div class="statement">
|
||||
<span class="statement">{{ '%user% has filled a %report_label% report'|trans(
|
||||
{
|
||||
'%user%' : user,
|
||||
'%user%' : report.user,
|
||||
'%report_label%': report.CFGroup.name|localize_translatable_string,
|
||||
'%date%' : report.date|format_date('long') }
|
||||
) }}</span>
|
||||
@@ -25,13 +25,13 @@
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
<a href="{{ path('report_view', { 'person_id': person.id, 'report_id': report.id} ) }}" class="sc-button bt-view">
|
||||
<a href="{{ path('report_view', { 'person_id': report.person.id, 'report_id': report.id} ) }}" class="sc-button bt-view">
|
||||
{{ 'View the report'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
{% if is_granted('CHILL_REPORT_UPDATE', report) %}
|
||||
<li>
|
||||
<a href="{{ path('report_edit', { 'person_id': person.id, 'report_id': report.id} ) }}" class="sc-button bt-edit">
|
||||
<a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id} ) }}" class="sc-button bt-edit">
|
||||
{{ 'Update the report'|trans }}
|
||||
</a>
|
||||
</li>
|
Reference in New Issue
Block a user