mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 02:53:50 +00:00
Fixes in template parameters + remove budget elements when removing event
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
'title' : 'Delete event'|trans,
|
||||
'confirm_question' : 'Are you sure you want to remove that event ?'|trans,
|
||||
'cancel_route' : activeRouteKey,
|
||||
'cancel_parameters' : { 'event_id' : event_id },
|
||||
'cancel_parameters' : { 'id' : id },
|
||||
'form' : delete_form
|
||||
}
|
||||
) }}
|
||||
|
@@ -34,7 +34,7 @@
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
{# {% if is_granted('CHILL_EVENT_SEE_DETAILS', event) %} #}
|
||||
<a href="{{ path('chill_event__event_show', { 'event_id' : event.id } ) }}" class="btn btn-view">
|
||||
<a href="{{ path('chill_event__event_show', { 'id' : event.id } ) }}" class="btn btn-view">
|
||||
{{ 'See'|trans }}
|
||||
</a>
|
||||
{# {% endif %} #}
|
||||
|
@@ -11,7 +11,7 @@
|
||||
'title' : 'Remove participation'|trans,
|
||||
'confirm_question' : 'Are you sure you want to remove that participation ?'|trans,
|
||||
'cancel_route' : activeRouteKey,
|
||||
'cancel_parameters' : { 'event_id' : event_id },
|
||||
'cancel_parameters' : { 'id' : event_id },
|
||||
'form' : delete_form
|
||||
}
|
||||
) }}
|
||||
|
@@ -33,7 +33,7 @@
|
||||
{% set returnPath = app.request.get('return_path') %}
|
||||
{% set returnLabel = app.request.get('return_label') %}
|
||||
|
||||
<a href="{{ returnPath |default( path('chill_event__event_show', { 'event_id' : participation.event.id } )) }}" class="btn btn-cancel">
|
||||
<a href="{{ returnPath |default( path('chill_event__event_show', { 'id' : participation.event.id } )) }}" class="btn btn-cancel">
|
||||
{{ returnLabel |default('Back to the event'|trans) }}
|
||||
</a>
|
||||
</li>
|
||||
|
@@ -34,7 +34,7 @@
|
||||
|
||||
<ul class="record_actions sticky-form-buttons">
|
||||
<li class="cancel">
|
||||
<a href="{{ path('chill_event__event_show', { 'event_id' : participation.event.id } ) }}" class="btn btn-cancel">
|
||||
<a href="{{ path('chill_event__event_show', { 'id' : participation.event.id } ) }}" class="btn btn-cancel">
|
||||
{{ 'Back to the event'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user