Partnership Eurockéennes 2024

This commit is contained in:
Mathis 2024-05-28 19:10:17 +02:00
parent f41ff281fb
commit 9ce7abd31d

View File

@ -79,7 +79,9 @@
{% if not request.user.date_of_birth %}
<div class="alert alert-red" x-data="{show_alert: true}" x-show="show_alert" x-transition>
<span class="alert-main">
{% trans %}You have not filled in your date of birth. As a result, you may not have access to all the products in the online shop. To fill in your date of birth, you can go to{% endtrans %}
{% trans %}You have not filled in your date of birth. As a result, you may not have access to
all the products in the online shop. To fill in your date of birth, you can go
to{% endtrans %}
<a href="{{ url("core:user_edit", user_id=request.user.id) }}">
{% trans %}this page{% endtrans %}
</a>
@ -90,6 +92,24 @@
</div>
{% endif %}
<section>
<div class="category-header">
<h3>Partenariat Eurockéenes 2024</h3>
<br>
{% if user.is_subscribed %}
<a title="Logiciel billetterie en ligne"
href="https://widget.weezevent.com/ticket/029d0986-83bf-47bf-9529-a3f0a45be04d?id_evenement=1061288&locale=fr-FR&code=3142"
class="weezevent-widget-integration" target="_blank"
data-src="https://widget.weezevent.com/ticket/029d0986-83bf-47bf-9529-a3f0a45be04d?id_evenement=1061288&locale=fr-FR&code=3142"
data-width="650" data-height="600" data-resize="1" data-nopb="0" data-type="neo"
data-width_auto="1" data-noscroll="0" data-id="1061288">Billetterie Weezevent</a>
<script type="text/javascript" src="https://widget.weezevent.com/weez.js" async defer></script>
{% else %}
<div>Vous devez être cotisant pour accéder à la billeterie des Eurockéennes</div>
{% endif %}
</div>
</section>
{% for priority_groups in products|groupby('priority')|reverse %}
{% for category, items in priority_groups.list|groupby('category') %}
{% if items|count > 0 %}
@ -104,11 +124,13 @@
</div>
<div class="product-group">
{% for p in items %}
<button id="{{ p.id }}" class="product-button" @click='add_from_catalog({{ p.id }}, {{ p.name|tojson }}, {{ p.selling_price }})'>
<button id="{{ p.id }}" class="product-button"
@click='add_from_catalog({{ p.id }}, {{ p.name|tojson }}, {{ p.selling_price }})'>
{% if p.icon %}
<img class="product-image" src="{{ p.icon.url }}" alt="image de {{ p.name }}">
<img class="product-image" src="{{ p.icon.url }}"
alt="image de {{ p.name }}">
{% else %}
<i class="fa fa-2x fa-picture-o product-image" ></i>
<i class="fa fa-2x fa-picture-o product-image"></i>
{% endif %}
<div class="product-description">
<h4>{{ p.name }}</h4>