From 8a155ad731cdf942333102131578f4368c1a4f15 Mon Sep 17 00:00:00 2001 From: Denis Date: Fri, 12 Nov 2021 21:37:26 +0300 Subject: [PATCH] update_button --- templates/account.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/account.html b/templates/account.html index e65ed8b..3e7585e 100644 --- a/templates/account.html +++ b/templates/account.html @@ -24,7 +24,9 @@

{{ account.userinfo.surname }} {{ account.userinfo.name }} {{ account.userinfo.middle_name }} {{ account.userinfo.activity_status }} - Админ + {% if user.is_superuser %} + Админ + {% endif %}