diff --git a/app/Resources/views/admin/event/bankwires.html.twig b/app/Resources/views/admin/event/bankwires.html.twig index 67dbf0b80..a86ea8677 100644 --- a/app/Resources/views/admin/event/bankwires.html.twig +++ b/app/Resources/views/admin/event/bankwires.html.twig @@ -54,7 +54,7 @@
- Aucune virement en attente. + Aucune virement en attente. {% if event == null %} Essayez de changer d'événement{% endif %}
{% endif %} diff --git a/app/Resources/views/admin/event/prices.html.twig b/app/Resources/views/admin/event/prices.html.twig index f03ccb152..deed518dc 100644 --- a/app/Resources/views/admin/event/prices.html.twig +++ b/app/Resources/views/admin/event/prices.html.twig @@ -73,6 +73,14 @@ {% endif %} + + {% else %} + +
+ + Aucune information. {% if event == null %}Essayez de changez d'événement !{% endif %} +
+ {% endfor %} diff --git a/app/Resources/views/admin/event/rooms.html.twig b/app/Resources/views/admin/event/rooms.html.twig index 935a0f056..5b593d7b5 100644 --- a/app/Resources/views/admin/event/rooms.html.twig +++ b/app/Resources/views/admin/event/rooms.html.twig @@ -1,18 +1,26 @@ {% extends 'admin/base_with_header.html.twig' %} {% block content %} -

Liste des salles pour {{ event.title }}

+

Liste des salles pour {{ event == null ? '':event.title }}

{% include 'admin/event/change_event.html.twig' with {form: event_select_form} only %} -
- - + {% if event == null %} +
+
+ + Changez d'événement pour afficher les données. +
+
+ {% else %} +
+
+ - - + + {% for form in editForms %} {% endfor %} - - + + - -
Salle
@@ -25,7 +33,7 @@
@@ -50,7 +58,8 @@ />
-
+ + + + {% endif %} {% endblock %} diff --git a/app/Resources/views/admin/event/speakers_management.html.twig b/app/Resources/views/admin/event/speakers_management.html.twig index 29b0b937e..09eeaa019 100644 --- a/app/Resources/views/admin/event/speakers_management.html.twig +++ b/app/Resources/views/admin/event/speakers_management.html.twig @@ -109,6 +109,13 @@ + {% else %} + +
+ + Aucune information. {% if event == null %}Essayez de changez d'événement !{% endif %} +
+ {% endfor %} diff --git a/app/Resources/views/admin/event/special_price.html.twig b/app/Resources/views/admin/event/special_price.html.twig index 18a1f74dd..d7955474a 100644 --- a/app/Resources/views/admin/event/special_price.html.twig +++ b/app/Resources/views/admin/event/special_price.html.twig @@ -44,7 +44,7 @@
- Aucun token créé + Aucun token trouvé.{% if event == null %} Essayez de changer d'événement{% endif %}
{% endif %} @@ -53,7 +53,14 @@

Nouveau token

- + {% if form == null %} +
+
+ + Changer d'événement pour pouvoir ajouter un token. +
+
+ {% else %} {{ form_start(form) }} @@ -107,5 +114,6 @@ {{ form_errors(form) }} {{ form_end(form) }} + {% endif %} {% endblock %} diff --git a/app/Resources/views/admin/event/sponsor_ticket.html.twig b/app/Resources/views/admin/event/sponsor_ticket.html.twig index 6f2c6e5b4..4c2c1350d 100644 --- a/app/Resources/views/admin/event/sponsor_ticket.html.twig +++ b/app/Resources/views/admin/event/sponsor_ticket.html.twig @@ -1,6 +1,6 @@ {% extends 'admin/base_with_header.html.twig' %} -{% form_theme form _self %} + {%- block form_row -%} {%- set widget_attr = {} -%} {%- if help is not empty -%} @@ -18,10 +18,13 @@ {%- endblock form_row -%} {% block content %} -

Liste des tokens sponsors pour {{ event.title }}

+

Liste des tokens sponsors pour {{ event == null ? '' : event.title }}

{% include 'admin/event/change_event.html.twig' with {form: event_select_form} only %} {% if tokens|length > 0 %} @@ -103,7 +107,7 @@
- Aucune invitation créée + Aucune invitation trouvée. {% if event == null %} Essayez de changer d'événement{% endif %}
{% endif %} @@ -118,6 +122,15 @@
+ {% if form == null %} +
+
+ + Changer d'événement pour pouvoir ajouter un token. +
+
+ {% else %} + {% form_theme form _self %} {{ form_start(form) }} {{ form_widget(form) }} @@ -131,6 +144,7 @@
{{ form_end(form) }} + {% endif %} {% endblock %} diff --git a/app/Resources/views/admin/event/stats.html.twig b/app/Resources/views/admin/event/stats.html.twig index fb8c98365..f640395a8 100644 --- a/app/Resources/views/admin/event/stats.html.twig +++ b/app/Resources/views/admin/event/stats.html.twig @@ -4,66 +4,76 @@

Suivi

{% include 'admin/event/change_event.html.twig' with {form: event_select_form} only %} -
-

Évolution des inscriptions

-
-
-
+ {% if event == null %} -
-

Jours de vente restants

-
+
+
+ + Changez d'événement pour afficher les données. +
+
+ {% else %} +
+

Évolution des inscriptions

+
+
+
- {% set percentage = ( (stats.min - stats.daysToEndOfSales) / stats.min * 100)|round %} -
-
-
+
+

Jours de vente restants

+
+ + {% set percentage = ( (stats.min - stats.daysToEndOfSales) / stats.min * 100)|round %} +
+
+
+
+
{{ stats.daysToEndOfSales * -1 }} jours restants sur {{ stats.min * -1 }}
-
{{ stats.daysToEndOfSales * -1 }} jours restants sur {{ stats.min * -1 }}
-
-
-

Progression des ventes: Jour 1

-
- {% set percentage = seats.available > 0 ? ( (seats.one) / seats.available * 100)|round : 0 %} -
-
-
+
+

Progression des ventes: Jour 1

+
+ {% set percentage = seats.available > 0 ? ( (seats.one) / seats.available * 100)|round : 0 %} +
+
+
+
+
{{ seats.one }} places vendues sur {{ seats.available }}
-
{{ seats.one }} places vendues sur {{ seats.available }}
-
-
-

Progression des ventes: Jour 2

-
+
+

Progression des ventes: Jour 2

+
- {% set percentage = seats.available > 0 ? ( (seats.two) / seats.available * 100)|round : 0 %} -
-
-
+ {% set percentage = seats.available > 0 ? ( (seats.two) / seats.available * 100)|round : 0 %} +
+
+
+
+
{{ seats.two }} places vendues sur {{ seats.available }}
-
{{ seats.two }} places vendues sur {{ seats.available }}
-
-
-

Répartition des billets

-
-
-
+
+

Répartition des billets

+
+
+
+ {% endif %} {% endblock %} {% block javascript %} - {{ parent() }} - - + + $(document).ready(function() { + $('.ui.progress').progress(); + }) + {% endblock %} diff --git a/app/Resources/views/admin/speaker/list.html.twig b/app/Resources/views/admin/speaker/list.html.twig index 13bc1d357..ea7a7eee2 100644 --- a/app/Resources/views/admin/speaker/list.html.twig +++ b/app/Resources/views/admin/speaker/list.html.twig @@ -21,6 +21,9 @@