wip.. adapt EventVoter to sf3

This commit is contained in:
2019-01-17 16:21:35 +01:00
parent c235fb75a7
commit 15ff92257c
5 changed files with 103 additions and 47 deletions

View File

@@ -50,7 +50,8 @@
<td>
<ul class="record_actions">
<li>
{% if is_granted('CHILL_EVENT_SEE_DETAILS', participation.event) %} #}
{#
{% if is_granted('CHILL_EVENT_SEE_DETAILS', participation.event) %}
<a href="{{ path('chill_event__event_show', { 'event_id' : participation.event.id } ) }}" class="sc-button black">
{{ 'See'|trans }}
</a>
@@ -65,6 +66,7 @@
{{ 'Edit'|trans }}
</a>
{% endif %}
#}
</li>
</ul>
</td>