From 55a4e0db48cfbbae09817ed0da4b855bf2e66546 Mon Sep 17 00:00:00 2001 From: Artur Date: Wed, 4 Dec 2024 01:33:31 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D1=84=D0=BE=D1=80=D0=BC=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B3=D0=BB=D0=B0=D0=B2=D0=BD=D0=BE=D0=B3?= =?UTF-8?q?=D0=BE=20=D0=BC=D0=B5=D0=BD=D0=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App/templates/main_menu.html | 40 +++++++++++++----------------------- 1 file changed, 14 insertions(+), 26 deletions(-) diff --git a/App/templates/main_menu.html b/App/templates/main_menu.html index fa2a4ec..473c62e 100644 --- a/App/templates/main_menu.html +++ b/App/templates/main_menu.html @@ -35,19 +35,27 @@
+ {% if 'role' not in ses %} +
+

Для доступа к функциям системы необходимо авторизоваться

+
+ {% endif %} + {% if 'role' in ses and ses['access_user'] == 'external_users' %} +
+

Новая накладная

+ + + +
+ {% endif %} + {% if 'role' in ses and ses['access_user'] == 'internal_users' %}
- {% if ses['access_user'] == 'internal_users' %}

Запросы

- @@ -57,32 +65,12 @@ >

Отчёты

-
- {% else %} -
-
-
-

Новая накладная

- - - - {% endif %}