From 83fb4fab6509de4249268932af54b19e03f333fd Mon Sep 17 00:00:00 2001 From: Dmitry Novikov Date: Fri, 31 Aug 2018 11:31:11 +0300 Subject: [PATCH] can access to nas menu by permission --- templates/base.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/base.html b/templates/base.html index 1e353c5..0c1d0b1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -100,12 +100,14 @@ + {% if perms.nas_app.view_nasmodel %} {% url 'nas_app:home' as nashome %} {% trans 'NAS' %} + {% endif %}