diff --git a/src/Bundle/ChillEventBundle/Resources/views/Event/confirm_delete.html.twig b/src/Bundle/ChillEventBundle/Resources/views/Event/confirm_delete.html.twig
index 86b7c6fd2..c3a13b55a 100644
--- a/src/Bundle/ChillEventBundle/Resources/views/Event/confirm_delete.html.twig
+++ b/src/Bundle/ChillEventBundle/Resources/views/Event/confirm_delete.html.twig
@@ -5,6 +5,7 @@
{% block title 'Delete event'|trans %}
{% block event_content %}
+
{{ include('@ChillMain/Util/confirmation_template.html.twig',
{
@@ -15,6 +16,6 @@
'form' : delete_form
}
) }}
-
+
{% endblock %}
diff --git a/src/Bundle/ChillEventBundle/Resources/views/Event/edit.html.twig b/src/Bundle/ChillEventBundle/Resources/views/Event/edit.html.twig
index 288c81edd..a528f1f5c 100644
--- a/src/Bundle/ChillEventBundle/Resources/views/Event/edit.html.twig
+++ b/src/Bundle/ChillEventBundle/Resources/views/Event/edit.html.twig
@@ -3,6 +3,7 @@
{% block title 'Event edit'|trans %}
{% block event_content -%}
+
{{ 'Event edit'|trans }}
{{ form_start(edit_form) }}
@@ -28,6 +29,8 @@
{{ form_widget(edit_form.submit, { 'attr' : { 'class' : 'btn btn-update' } }) }}
-
+
{{ form_end(edit_form) }}
+
+
{% endblock %}
diff --git a/src/Bundle/ChillEventBundle/Resources/views/Event/list.html.twig b/src/Bundle/ChillEventBundle/Resources/views/Event/list.html.twig
index 6e77b6df8..8d5f49da8 100644
--- a/src/Bundle/ChillEventBundle/Resources/views/Event/list.html.twig
+++ b/src/Bundle/ChillEventBundle/Resources/views/Event/list.html.twig
@@ -6,42 +6,42 @@
{{ 'Results %start%-%end% of %total%'|trans({ '%start%' : start, '%end%': start + events|length, '%total%' : total } ) }}
-
+
-
- {{ 'Name'|trans }} |
- {{ 'Date'|trans }} |
- {{ 'Event type'|trans }} |
- |
-
+
+ {{ 'Name'|trans }} |
+ {{ 'Date'|trans }} |
+ {{ 'Event type'|trans }} |
+ |
+
- {% for event in events %}
-
- {{ event.name }} |
- {{ event.date|format_date('long') }} |
- {{ event.type.name|localize_translatable_string }} |
-
-
- -
- {# {% if is_granted('CHILL_EVENT_SEE_DETAILS', event) %} #}
-
- {{ 'See'|trans }}
-
- {# {% endif %} #}
- {% if is_granted('CHILL_EVENT_UPDATE', event) %}
+ {% for event in events %}
+
+ {{ event.name }} |
+ {{ event.date|format_date('long') }} |
+ {{ event.type.name|localize_translatable_string }} |
+
+
+ -
+ {# {% if is_granted('CHILL_EVENT_SEE_DETAILS', event) %} #}
+
+ {{ 'See'|trans }}
+
+ {# {% endif %} #}
+ {% if is_granted('CHILL_EVENT_UPDATE', event) %}
{{ 'Edit'|trans }}
- {% endif %}
-
-
- |
-
- {% endfor %}
+ {% endif %}
+
+
+ |
+
+ {% endfor %}
-
+
{% endif %}
{% if preview == false %}
-{{ chill_pagination(paginator) }}
+ {{ chill_pagination(paginator) }}
{% endif %}
+
diff --git a/src/Bundle/ChillEventBundle/Resources/views/Event/listByPerson.html.twig b/src/Bundle/ChillEventBundle/Resources/views/Event/listByPerson.html.twig
index 9ffd5093c..ef2dae85c 100644
--- a/src/Bundle/ChillEventBundle/Resources/views/Event/listByPerson.html.twig
+++ b/src/Bundle/ChillEventBundle/Resources/views/Event/listByPerson.html.twig
@@ -44,59 +44,59 @@
{{ participation.role.name|localize_translatable_string }} |
{{ participation.status.name|localize_translatable_string }} |
-
+
{% set currentPath = path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) %}
{% set returnLabel = 'Back to %person% events'|trans({ '%person%' : currentPerson } ) %}
{% if is_granted('CHILL_EVENT_SEE_DETAILS', participation.event) %}
- -
-
+ class="btn btn-primary btn-sm" title="{{ 'See details of the event'|trans }}">
+
+
{% endif %}
{% if is_granted('CHILL_EVENT_UPDATE', participation.event)
and is_granted('CHILL_EVENT_PARTICIPATION_UPDATE', participation) %}
- -
-
{% else %}
-
-
{% if is_granted('CHILL_EVENT_UPDATE', participation.event) %}
-
- {{ 'Edit the event'|trans }}
-
+
+ {{ 'Edit the event'|trans }}
+
{% endif %}
{% if is_granted('CHILL_EVENT_PARTICIPATION_UPDATE', participation) %}
-
- {{ 'Edit the participation'|trans }}
-
+
+ {{ 'Edit the participation'|trans }}
+
{% endif %}
-
{% endif %}
-
+
|
{% endfor %}
@@ -108,11 +108,14 @@
{{ chill_pagination(paginator) }}
{% endif %}
-