From 8310357029e03d286ad2b44ce6005487ab5d60c1 Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Fri, 4 Feb 2022 15:49:45 -0800 Subject: [PATCH] fix: only display registration time when RegistrationTS is valid Signed-off-by: Kevin Morris --- templates/account/show.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/account/show.html b/templates/account/show.html index 26cfbc21..34549ff0 100644 --- a/templates/account/show.html +++ b/templates/account/show.html @@ -62,12 +62,14 @@ {% endif %} + {% if user.RegistrationTS %} {% trans %}Registration date{% endtrans %}: {{ user.RegistrationTS.strftime("%Y-%m-%d") }} + {% endif %} {% if login_ts %} {% trans %}Last Login{% endtrans %}: