From c5316fa0dc9d836f65fe845c4a783d6b4afde758 Mon Sep 17 00:00:00 2001 From: Christian Merten Date: Sun, 1 Dec 2024 11:48:47 +0100 Subject: [PATCH] startpage: add favicon, rename root section --- jdav_web/jdav_web/settings/local.py | 2 +- jdav_web/startpage/templates/startpage/base.html | 1 + .../templates/startpage/navigation.html | 2 +- jdav_web/static/startpage/img/favicon.png | Bin 0 -> 3807 bytes 4 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 jdav_web/static/startpage/img/favicon.png diff --git a/jdav_web/jdav_web/settings/local.py b/jdav_web/jdav_web/settings/local.py index d0d9948..7fdaca4 100644 --- a/jdav_web/jdav_web/settings/local.py +++ b/jdav_web/jdav_web/settings/local.py @@ -63,6 +63,6 @@ REGISTRATION_FORM_DOWNLOAD_LINK = 'https://nc.cloud-jdav-hd.de' DOMAIN = os.environ.get('DOMAIN', 'example.com') STARTPAGE_REDIRECT_URL = 'https://jdav-hd.de' -ROOT_SECTION = 'jdav_heidelberg' +ROOT_SECTION = os.environ.get('ROOT_SECTION', 'wir') RECENT_SECTION = 'aktuelles' REPORTS_SECTION = 'berichte' diff --git a/jdav_web/startpage/templates/startpage/base.html b/jdav_web/startpage/templates/startpage/base.html index 05414ba..ae69f54 100644 --- a/jdav_web/startpage/templates/startpage/base.html +++ b/jdav_web/startpage/templates/startpage/base.html @@ -7,6 +7,7 @@ + diff --git a/jdav_web/startpage/templates/startpage/navigation.html b/jdav_web/startpage/templates/startpage/navigation.html index 1d15166..74dc605 100644 --- a/jdav_web/startpage/templates/startpage/navigation.html +++ b/jdav_web/startpage/templates/startpage/navigation.html @@ -51,7 +51,7 @@ window.onclick = function(event) {