This commit is contained in:
2025-11-12 10:47:02 +01:00
parent 4b85d12941
commit cbb2dec615
3 changed files with 26 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
<!-- templates/base.html -->
<!-- templates/base.html (updated) -->
<!DOCTYPE html>
<html lang="en">
<head>
@@ -391,7 +391,7 @@
<div class="user-section">
<div class="user-info">
<h3>{{ session.username }}</h3>
<p>Member since {{ user.created_at.strftime('%b %Y') if 'user' in locals() else '' }}</p>
<p>Member since {{ user.created_at.strftime('%b %Y') if 'user' in locals() and user else '' }}</p>
</div>
<a href="{{ url_for('logout') }}" class="btn btn-outline-light">Logout</a>
</div>