From 6e726871cfe67a0398c0a4d69be1036b575d3534 Mon Sep 17 00:00:00 2001 From: Kumi Date: Wed, 27 Oct 2021 09:01:25 +0200 Subject: [PATCH] Fix Dashboard link in navigation --- TODO.md | 9 ++------- frontend/templatetags/navigation.py | 5 +++-- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/TODO.md b/TODO.md index cdfe967..a5b6eb4 100644 --- a/TODO.md +++ b/TODO.md @@ -3,7 +3,6 @@ ## General [_] Make sure users can't access other users' data -[_] Allow configuration as single user instance [_] User profiles / names / gateway config / time zone settings ## cbt module @@ -17,7 +16,7 @@ [_] Implement Telegram webhooks [_] Implement Matrix messaging -## meds module +## health module [_] Implement medication tracker [_] Implement supply / refill system @@ -32,11 +31,7 @@ ## Frontend -[_] Better icons for sidebar items -[_] Sidebar auto-generation (?) -[_] Fix sidebar highlighting for pages with same name -[_] Move dashboard components to module templates -[_] Fix buttons on mobile devices +[_] Fix buttons on mobile devices (?) ## environment module diff --git a/frontend/templatetags/navigation.py b/frontend/templatetags/navigation.py index 762b90a..6c33f41 100644 --- a/frontend/templatetags/navigation.py +++ b/frontend/templatetags/navigation.py @@ -1,5 +1,6 @@ from django import template from django.conf import settings +from django.urls import reverse_lazy from importlib import import_module @@ -20,8 +21,8 @@ def sidebar_nav(): pass return """ -