mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 06:14:59 +00:00
add export button, route and controller method
This commit is contained in:
3
Resources/views/Event/exportParticipations.html.twig
Normal file
3
Resources/views/Event/exportParticipations.html.twig
Normal file
@@ -0,0 +1,3 @@
|
||||
{% for participation in event.participations %}
|
||||
{{ dump(participation.person.firstname ~ ' ' ~ participation.person.lastname) }}
|
||||
{% endfor %}
|
@@ -104,6 +104,7 @@
|
||||
|
||||
<ul class="record_actions">
|
||||
{% if count > 0 %}
|
||||
<li><a href="{{ path('chill_event__event_export_participations', { 'event_id' : event.id } ) }}" class="sc-button btn-download">{{ 'Export participation list'|trans }}</a></li>
|
||||
<li><a href="{{ path('chill_event_participation_edit_multiple', { 'event_id' : event.id } ) }}" class="sc-button bt-edit">{{ 'Edit all the participations'|trans }}</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user