From 71771d318328502a0747ba3eb0ae8b2315f91307 Mon Sep 17 00:00:00 2001 From: "holger.trampe" Date: Sun, 9 Feb 2020 21:54:45 +0100 Subject: [PATCH] Benachrichtigungen noch verlinkt und Default-Link auf Benachrichtigungen gesetzt --- users/__pycache__/signals.cpython-38.pyc | Bin 3199 -> 3226 bytes users/signals.py | 2 +- users/templates/users/base.html | 7 +++++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/users/__pycache__/signals.cpython-38.pyc b/users/__pycache__/signals.cpython-38.pyc index 67bc5a779dbb03c419efab00e48231339004b5e3..63ab878c59c541fe861f2ec39ee59aac69be7723 100644 GIT binary patch delta 238 zcmew_F-wv+l$V!_0SM0KI>d!;pP5JI4e@zsVAu zvOL>>0yRu2jFJpRn*{*xs* zWqCFM1!|a57$q5s)=hTg6ld(49LZV7lET-^Jo!GSk)<(6g9(T*1rg>T!U9BCf(R=h z;Z|e~B%`
'+notifications[i]['date']+'
'+notifications[i]['text']+'
') + $("#notification_items").append('
'+notifications[i]['date']+'
'+notifications[i]['text']+'
') i = i + 1; newunknownotificationscounter = newunknownotificationscounter + 1; } @@ -530,7 +532,7 @@ function loadUnviewnNotifications(){ i = 0; for (var key in notifications) { if(newunknownotificationscounter <= 5){ - $("#notification_items").append('
'+notifications[i]['date']+'
'+notifications[i]['text']+'
') + $("#notification_items").append('
'+notifications[i]['date']+'
'+notifications[i]['text']+'
') i = i + 1; } } @@ -559,6 +561,7 @@ function removeNotification(notifyid){ } $(document).ready(function(){ + console.log(); $("#notification_items").html(""); loadUnsendNotifications(); loadUnviewnNotifications();