Fixed minor bugs

This commit is contained in:
Verox001 2024-03-01 08:06:00 +01:00
parent a8a3382f15
commit afb57ef077
2 changed files with 5 additions and 2 deletions

1
app.py
View File

@ -276,6 +276,7 @@ def profile():
name=current_user.name,
email=current_user.email,
profile_image_url=current_user.profile_image,
title="Profil",
)

View File

@ -1,8 +1,10 @@
{% extends 'layouts/main.html' %}
{% block content %}
<h1><img class="avatar avatar-xl" src="{{user.profile_image}}"/>
{{ title }}</h1>
<h1>
{% if (current_user.is_authenticated) %}<img class="avatar avatar-xl" src="{{user.profile_image}}"/>{% endif %}
{{ title }}
</h1>
<h3>{{ utc_dt }}</h3>