diff --git a/templates/users/user.html b/templates/users/user.html index 730173f..45e8967 100644 --- a/templates/users/user.html +++ b/templates/users/user.html @@ -2,6 +2,7 @@ {% import "/components/header.html" as header %} {% import "/components/footer.html" as footer %} {% import "posts/profile_card.html" as card %} +{% import "/components/contacts.html" as contacts %} {% block title %}Посты{% endblock %} @@ -14,7 +15,6 @@
{{find.username}}
{% if 'admin' in user.get('roles', []) %} -Звание:
+{{find.grade}}
+ {% endif %} + {% if find.get('biography') is not none%} +Биография:
+{{find.biography}}
+ {% endif %} +👁 {{total_watch_count}} (+{{today_watch_count}} Сегодня)
+Звание:
-{{find.grade}}
- {% endif %} - {% if find.get('biography') is not none%} -Биография:
-{{find.biography}}
- {% endif %} -👁 {{total_watch_count}} (+{{today_watch_count}} Сегодня)
-