Fix error on EventVoter

This commit is contained in:
2019-01-25 18:01:37 +01:00
parent 31876ee8b6
commit 29b7641528
3 changed files with 22 additions and 24 deletions

View File

@@ -50,13 +50,6 @@
<td>
<ul class="record_actions">
<li>
{% if is_granted('CHILL_EVENT_SEE', participation.event) %}
see {% else %} not see
{% endif %}
{% if is_granted('CHILL_EVENT_CREATE', participation.event) %}
create {% else %} not create
{% endif %}
{% 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 }}