Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 06803389b8 |
+4
-6
@@ -24,7 +24,7 @@ ANONYMOUS_USERNAME = "anonym"
|
||||
BERLIN = ZoneInfo("Europe/Berlin")
|
||||
# Festival window: 2026-05-30 10:00 – 2026-06-14 22:00 Berlin time.
|
||||
BOOKING_START = datetime(2026, 5, 30, 10, 0, 0, tzinfo=BERLIN)
|
||||
BOOKING_END = datetime(2026, 6, 17, 23, 59, 0, tzinfo=BERLIN)
|
||||
BOOKING_END = datetime(2026, 6, 14, 22, 0, 0, tzinfo=BERLIN)
|
||||
|
||||
DAY_BY_WEEKDAY = {3: 1, 4: 2, 5: 3, 6: 4}
|
||||
DAY_CUTOFF_HOUR = 6
|
||||
@@ -177,11 +177,9 @@ def name_view(request):
|
||||
existing = None
|
||||
|
||||
if existing is None:
|
||||
return render(
|
||||
request,
|
||||
"suff/party_over.html",
|
||||
{"phase": phase, "username": username},
|
||||
)
|
||||
request.session["pending_username"] = username
|
||||
request.session["pending_mode"] = "create"
|
||||
return HttpResponseRedirect(reverse("suff:pin"))
|
||||
|
||||
if not existing.pin:
|
||||
if _user_has_activity(existing):
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
{% extends "suff/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Party vorbei!</h2>
|
||||
<p>
|
||||
Der Name <b>{{ username }}</b> existiert noch nicht —
|
||||
neue Accounts können nicht mehr angelegt werden, weil das Festival vorbei ist.
|
||||
</p>
|
||||
<p>
|
||||
Du hast schon einen Account? Gib deinen Namen nochmal ein.
|
||||
</p>
|
||||
<div class="link-row">
|
||||
<a href="{% url 'suff:name' %}" class="link-btn">Zurück</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
+1
-1
@@ -10,7 +10,7 @@ dependencies = [
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"ruff==0.15.18",
|
||||
"ruff==0.15.17",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
|
||||
Reference in New Issue
Block a user