This commit is contained in:
Yapollon 2024-03-01 08:14:20 +01:00
commit e20defa4e1
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>