From 123757793f40cb0385ba36d6aa68ca67594dabd4 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 11 May 2022 17:03:31 +0200 Subject: [PATCH] add link on sidebar and put empty data --- ereuse_devicehub/inventory/views.py | 2 +- ereuse_devicehub/templates/ereuse_devicehub/base_site.html | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ereuse_devicehub/inventory/views.py b/ereuse_devicehub/inventory/views.py index f089dc63..2cdf5af1 100644 --- a/ereuse_devicehub/inventory/views.py +++ b/ereuse_devicehub/inventory/views.py @@ -510,7 +510,7 @@ class SnapshotListView(GenericMixView): decorators = [login_required] template_name = 'inventory/snapshots_list.html' - def dispatch_request(self, id): + def dispatch_request(self): self.get_context() self.context['page_title'] = "Snapshots" self.context['snapshots'] = [] diff --git a/ereuse_devicehub/templates/ereuse_devicehub/base_site.html b/ereuse_devicehub/templates/ereuse_devicehub/base_site.html index fe014107..95b3d3a5 100644 --- a/ereuse_devicehub/templates/ereuse_devicehub/base_site.html +++ b/ereuse_devicehub/templates/ereuse_devicehub/base_site.html @@ -101,6 +101,13 @@ + +