mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-22 10:28:21 +02:00
Compare commits
6 Commits
beta
...
finito_sda
Author | SHA1 | Date | |
---|---|---|---|
414e103686 | |||
7975fe47a6 | |||
476fbceeea | |||
8fbaa0bdc8 | |||
a0de63effd | |||
3c34033bf5 |
@ -291,7 +291,7 @@ class WEISurveyAlgorithm2024(WEISurveyAlgorithm):
|
|||||||
for survey in surveys:
|
for survey in surveys:
|
||||||
survey.free()
|
survey.free()
|
||||||
if survey.registration.user_id in hardcoded_first_year.keys():
|
if survey.registration.user_id in hardcoded_first_year.keys():
|
||||||
survey.select_bus(hardcoded_first_year[s.registration.user_id])
|
survey.select_bus(hardcoded_first_year[survey.registration.user_id])
|
||||||
survey.save()
|
survey.save()
|
||||||
|
|
||||||
non_men = [s for s in surveys if s.registration.gender != 'male']
|
non_men = [s for s in surveys if s.registration.gender != 'male']
|
||||||
|
@ -158,7 +158,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="{% block containertype %}container{% endblock %} my-3">
|
<div class="{% block containertype %}container{% endblock %} my-3">
|
||||||
<div id="messages">
|
<div id="messages">
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
{% if not user|is_member:"BDE" %}
|
{% if not user|is_member:"BDE" %}
|
||||||
<div class="alert alert-danger">
|
<div class="alert alert-danger">
|
||||||
|
Reference in New Issue
Block a user