mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 06:14:59 +00:00
actions buttons, set return values in url
This commit is contained in:
@@ -28,8 +28,12 @@
|
||||
|
||||
<ul class="record_actions">
|
||||
<li class="cancel">
|
||||
<a href="{{ path('chill_event__event_show', { 'event_id' : participation.event.id } ) }}" class="sc-button bt-cancel">
|
||||
{{ 'Back to the event'|trans }}
|
||||
|
||||
{% 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="sc-button bt-cancel">
|
||||
{{ returnLabel |default('Back to the event'|trans) }}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
|
Reference in New Issue
Block a user