From 07eb687d345c02ff0ed490db8ea032e019eb847c Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Mon, 19 Feb 2024 16:26:58 +1300 Subject: [PATCH] chat - user profile fix --- app/templates/user/show_profile.html | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/app/templates/user/show_profile.html b/app/templates/user/show_profile.html index ecc1f3f4..d4245a08 100644 --- a/app/templates/user/show_profile.html +++ b/app/templates/user/show_profile.html @@ -4,7 +4,8 @@ {% extends "base.html" %} {% endif %} %} {% from 'bootstrap/form.html' import render_form %} -{% if current_user.is_authenticated() and user.id == current_user.id %} + +{% if current_user.is_authenticated and user.id == current_user.id %} {% set active_child = 'view_profile' %} {% endif %} {% block app_content %} @@ -41,20 +42,18 @@
{{ _('Joined') }}: {{ moment(user.created).fromNow(refresh=True) }}