From 70bf8e20539ecb6751fc6db9a6da302725ecf07d Mon Sep 17 00:00:00 2001 From: moanos Date: Sun, 24 Nov 2024 12:46:30 +0100 Subject: [PATCH] feat: re-add profile card --- .../templates/fellchensammlung/header.html | 65 ++++++++++++++----- 1 file changed, 48 insertions(+), 17 deletions(-) diff --git a/src/fellchensammlung/templates/fellchensammlung/header.html b/src/fellchensammlung/templates/fellchensammlung/header.html index c8e3dab..659ba36 100644 --- a/src/fellchensammlung/templates/fellchensammlung/header.html +++ b/src/fellchensammlung/templates/fellchensammlung/header.html @@ -5,22 +5,53 @@
- - - + {% if user.get_num_unread_notifications > 0 %} + {{ user.get_num_unread_notifications }} + {% endif %} + + + +
+ {% csrf_token %} + +
+ {% else %} + {% translate "Registrieren" %} + + {% endif %} + + + + +