Compare commits

..

No commits in common. "21cbf2b21ad70913e6b108725b4d8866e9772963" and "e4aa16986f2ff09aa5b022f9ff2d0b5af0e3ec8c" have entirely different histories.

5 changed files with 15 additions and 20 deletions

View File

@ -55,7 +55,7 @@ buses_descr = [
pour les plus calmes, vous trouverez au bus Aspique-Kyottes les 2A+ qui vous feront kiffer votre WEI.""",
],
[
"Zanzo[Bus] 🤯🚸🐒", "#FFFF", 3,
"Zanzo[Bus] 🤩👽🐔", "#FFFF", 3,
"""Dans un entre-trois bien senti entre zinzinerie, enfance et vieillerie, le Zanzo[BUS] est un concentré de fun mêlé à
de la dinguerie à gogo. N'hésitez plus et rejoignez-nous pour un WEI toujours plus déjanté !""",
],

View File

@ -1,17 +0,0 @@
# Generated by Django 4.2.15 on 2024-08-29 20:15
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('wei', '0009_weiregistration_specific_diet'),
]
operations = [
migrations.RemoveField(
model_name='weiregistration',
name='specific_diet',
),
]

View File

@ -232,6 +232,12 @@ class WEIRegistration(models.Model):
verbose_name=_("health issues"),
)
specific_diet = models.TextField(
blank=True,
default="",
verbose_name=_("specific diet"),
)
emergency_contact_name = models.CharField(
max_length=255,
verbose_name=_("emergency contact name"),

View File

@ -25,9 +25,12 @@
<dt class="col-xl-6">{% trans 'department'|capfirst %}</dt>
<dd class="col-xl-6">{{ object.user.profile.get_department_display }}</dd>
<dt class="col-xl-6">{% trans 'health issues or specific diet'|capfirst %}</dt>
<dt class="col-xl-6">{% trans 'health issues'|capfirst %}</dt>
<dd class="col-xl-6">{{ object.health_issues|default:"—" }}</dd>
<dt class="col-xl-6">{% trans 'specific diet'|capfirst %}</dt>
<dd class="col-xl-6">{{ object.specific_diet|default:"—" }}</dd>
<dt class="col-xl-6">{% trans 'suggested bus'|capfirst %}</dt>
<dd class="col-xl-6">{{ survey.information.selected_bus_name }}</dd>
</dl>

View File

@ -64,9 +64,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
<dt class="col-xl-6">{% trans 'birth date'|capfirst %}</dt>
<dd class="col-xl-6">{{ registration.birth_date }}</dd>
<dt class="col-xl-6">{% trans 'health issues or specific diet'|capfirst %}</dt>
<dt class="col-xl-6">{% trans 'health issues'|capfirst %}</dt>
<dd class="col-xl-6">{{ registration.health_issues }}</dd>
<dt class="col-xl-6">{% trans 'specific diet'|capfirst %}</dt>
<dd class="col-xl-6">{{ registration.specific_diet }}</dd>
<dt class="col-xl-6">{% trans 'emergency contact name'|capfirst %}</dt>
<dd class="col-xl-6">{{ registration.emergency_contact_name }}</dd>