From 2289106ac7cac9e1fad9aa60aaa1163b0f80613f Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Fri, 31 Mar 2023 14:17:08 +0200 Subject: [PATCH] Fix last seen not set error on admin user page --- app/templates/admin/user.html.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/admin/user.html.j2 b/app/templates/admin/user.html.j2 index 0512db75..7ecc6f19 100644 --- a/app/templates/admin/user.html.j2 +++ b/app/templates/admin/user.html.j2 @@ -41,7 +41,7 @@
  • Id: {{ user.id }}
  • Hashid: {{ user.hashid }}
  • Member since: {{ user.member_since.strftime('%Y-%m-%d') }}
  • -
  • Last seen: {{ user.last_seen.strftime('%Y-%m-%d') }}
  • +
  • Last seen: {% if user.last_seen %}{{ user.last_seen.strftime('%Y-%m-%d') }}
  • {% endif %}