From 9dd059644570e2775ca93fc5633438ac04c0433c Mon Sep 17 00:00:00 2001 From: Johanna England Date: Thu, 21 Nov 2024 15:30:43 +0100 Subject: [PATCH] Hide "Delete dashboard" button for default dashboard --- python/nav/web/templates/webfront/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/nav/web/templates/webfront/index.html b/python/nav/web/templates/webfront/index.html index 9e71e96999..01d42e9bdf 100644 --- a/python/nav/web/templates/webfront/index.html +++ b/python/nav/web/templates/webfront/index.html @@ -144,7 +144,7 @@

Import dashboard

- {% if request.account.account_dashboards.count > 1 %} + {% if request.account.account_dashboards.count > 1 and not dashboard.is_default %}