From 8e6e26ccbadf8047440e6fea93cbc8e1b316b4a7 Mon Sep 17 00:00:00 2001 From: Andrey Smakotin Date: Tue, 2 Dec 2025 00:08:33 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D0=B4=D0=B8=D0=B7=D0=B0=D0=B9?= =?UTF-8?q?=D0=BD=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D1=8B=20?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D1=84=D0=B8=D0=BB=D1=8F:=20=D1=81=D0=BE?= =?UTF-8?q?=D0=B2=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD=D1=8B=D0=B9=20=D0=B4?= =?UTF-8?q?=D0=B8=D0=B7=D0=B0=D0=B9=D0=BD=20=D1=81=20=D0=B2=D1=8B=D0=B2?= =?UTF-8?q?=D0=BE=D0=B4=D0=BE=D0=BC=20=D1=80=D0=BE=D0=BB=D0=B8=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB?= =?UTF-8?q?=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- myproject/templates/profile.html | 131 ++++++++++++++----------------- 1 file changed, 59 insertions(+), 72 deletions(-) diff --git a/myproject/templates/profile.html b/myproject/templates/profile.html index e1e2d17..8406fe7 100644 --- a/myproject/templates/profile.html +++ b/myproject/templates/profile.html @@ -3,85 +3,78 @@ {% block title %}Профиль{% endblock %} {% block content %} -
+
-
-
-
-

- - Ваш профиль -

-
-
-
-
-
- +
+ +
+
+ +
+
+ +
+
+

{{ user.name }}

+

{{ user.email }}

+
+
+ +
+ + +
+ +
+
+ +
+ Роль + {% if user.get_tenant_role %} + {{ user.get_tenant_role.name }} + {% else %} + Не назначена + {% endif %} +
-
-
-
-
- - Имя: -
-
- {{ user.name }} -
-
- -
-
- - Email: -
-
- {{ user.email }} -
-
- -
-
- - Статус email: -
-
- {% if user.is_email_confirmed %} - - Подтвержден - - {% else %} - - Не подтвержден - - {% endif %} -
+ + +
+
+ +
+ Статус email + {% if user.is_email_confirmed %} + + Подтвержден + + {% else %} + + Не подтвержден + + {% endif %}
- -
- - Назад + +
+ + +
+ + Сменить пароль - {% if not user.is_email_confirmed %} {% endif %} - - - Сменить пароль + + Назад - -
@@ -91,13 +84,7 @@ {% endblock %} \ No newline at end of file