diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 74e4675..103d649 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -3,7 +3,7 @@ name: Deploy to production on: workflow_dispatch: schedule: - - cron: '0 3,13,19,23 * * *' + - cron: '0 1,22 * * *' jobs: deploy: diff --git a/templates/base.html.twig b/templates/base.html.twig index e46d7d9..452c662 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -56,8 +56,8 @@ { "@type": "ListItem", "position": {{ loop.index }}, - "name": "{{ breadcrumb.name }}"{% if breadcrumb.url is defined and breadcrumb.url is not empty %}, - "item": "{{ absolute_url(breadcrumb.url) }}"{% endif %} + "name": {{ breadcrumb.name|json_encode|raw }}{% if not loop.last and breadcrumb.url is defined and breadcrumb.url is not empty %}, + "item": {{ absolute_url(breadcrumb.url)|json_encode|raw }}{% endif %} }{% if not loop.last %},{% endif %} {% endfor %} ] diff --git a/templates/email/scan_force_notification.html.twig b/templates/email/scan_force_notification.html.twig index e5ea0da..2547e0a 100644 --- a/templates/email/scan_force_notification.html.twig +++ b/templates/email/scan_force_notification.html.twig @@ -6,7 +6,7 @@
Un billet a ete force lors du scan sur votre evenement. Voici les details :
-| Details du billet @@ -36,7 +36,7 @@ |
|
Force par diff --git a/templates/home/event_detail.html.twig b/templates/home/event_detail.html.twig index 5f8d3f9..e9e1e3b 100644 --- a/templates/home/event_detail.html.twig +++ b/templates/home/event_detail.html.twig @@ -14,32 +14,32 @@ {% block body %}
-
- EVENT
+ EVENT
- {{ event.title }}+{{ event.title }}-
+
-
-
+
{{ event.address }}, {{ event.zipcode }} {{ event.city }}
-
+
Du {{ event.startAt|date('d/m/Y H:i') }} au {{ event.endAt|date('d/m/Y H:i') }}
{% for message in app.flashes('success') %}
{{ message }}
{% if event.eventMainPictureName %}
-
+
-
📷
{% endif %}
+
{% if event.description %}
{{ event.description|raw }}
@@ -103,7 +103,7 @@
{% endif %}
{% if not event_ended %}
-
+
{% for category in categories %}
{% if category.active %}
{% set category_billets = billets[category.id] ?? [] %}
@@ -113,16 +113,16 @@
{% if category_billets|length > 0 %}
{% for billet in category_billets %}
-
-
-
+
+
+
{% if billet.pictureName %}
-
-
- {{ billet.name }} +
+
+ {{ billet.name }} {% if billet.description %} -{{ billet.description }} +{{ billet.description }} {% endif %}{% if not billet.unlimited and billet.quantity is not null %} @@ -136,18 +136,19 @@ {% endif %} {{ billet.priceHTDecimal|number_format(2, ',', ' ') }} €
-
@@ -160,19 +161,19 @@
{% endif %}
{% endfor %}
- {{ billet.priceHTDecimal|number_format(2, ',', ' ') }} € +
+
-
-
-
-
+
+
+
+
- 0,00 € +0,00 €
-
- Total
- 0,00 €
+
-
+
+ Total
+ 0,00 €
-
- Articles
+
@@ -185,21 +186,21 @@
+ Articles
0
Emplacement
+ Organisateur
-
+
+
{% if organizer.logoName %}
Contacter l'organisateur
+ |