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