From aefa79ea7754df4e8c15810f723f2f1a9ba4464c Mon Sep 17 00:00:00 2001 From: "holger.trampe" Date: Sat, 2 May 2020 13:54:39 +0200 Subject: [PATCH] Zwischencommit und Bilder Test --- users/templates/users/base.html | 6 +++++- users/views.py | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/users/templates/users/base.html b/users/templates/users/base.html index d4225ce..61388da 100644 --- a/users/templates/users/base.html +++ b/users/templates/users/base.html @@ -606,7 +606,11 @@ function removeNotification(notifyid){ } $(document).ready(function(){ - console.log(); + console.log("{{root}}"); + console.log("{{url}}"); + + + $("#notification_items").html(""); loadUnsendNotifications(); loadUnviewnNotifications(); diff --git a/users/views.py b/users/views.py index 9945ae5..02087ac 100644 --- a/users/views.py +++ b/users/views.py @@ -272,6 +272,8 @@ def dashboard(request): context = { 'active_link' : 'dashboard', + 'root' : settings.MEDIA_ROOT, + 'url' : settings.MEDIA_URL #"systemencode" : storageinfo } # Adding active_link