From 5117ad13f79c7b0a9ea5e50aaf7fe6b9527eb029 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 4 Feb 2022 18:02:05 +0200 Subject: [PATCH] sfd --- files/routes/admin.py | 2 +- files/templates/settings_profile.html | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/files/routes/admin.py b/files/routes/admin.py index 183f9f146..65c5b75c5 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -795,7 +795,7 @@ def agendaposter(user_id, v): if expiry: expiry = float(expiry) expiry = g.timestamp + expiry*60*60*24 - else: expiry = 0 + else: expiry = g.timestamp + 2629746 user.agendaposter = not user.agendaposter user.agendaposter_expires_utc = expiry diff --git a/files/templates/settings_profile.html b/files/templates/settings_profile.html index 6d36d244a..5296844b5 100644 --- a/files/templates/settings_profile.html +++ b/files/templates/settings_profile.html @@ -129,6 +129,16 @@ +

Or type a color code:

+
+
+ + + + +
+
+