mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
feature: update an existing participation
The update allow to modify the status and role of a participation. ref #8
This commit is contained in:
@@ -57,14 +57,17 @@
|
||||
<td>{{ person_macro.render(participation.person) }}</td>
|
||||
<td>{{ participation.role.label|localize_translatable_string }}</td>
|
||||
<td>{{ participation.status.label|localize_translatable_string }}</td>
|
||||
<td>{{ participation.lastUpdate|localizeddate("long", "none") }}</td>
|
||||
<td>{{ participation.lastUpdate|time_diff }} <i class="fa fa-calendar-o" title="{{ participation.lastUpdate|localizeddate("long", "medium")|escape('html_attr') }}"></i></td>
|
||||
<td>
|
||||
<ul class="record_actions">
|
||||
{% if is_granted('CHILL_EVENT_PARTICIPATION_UPDATE', participation) %}
|
||||
<li>
|
||||
<a href="#" class="sc-button btn-edit">
|
||||
<a href="{{ path('chill_event_participation_edit', { 'participation_id' : participation.id } ) }}"
|
||||
class="sc-button btn-edit">
|
||||
{{ 'Edit'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user