From b8e3db3e11f10403ec233f1f87204117a58f5269 Mon Sep 17 00:00:00 2001 From: Son Date: Fri, 20 May 2022 16:27:37 +0200 Subject: [PATCH 1/2] add mention about the limit of 15 aliases into the header --- templates/header.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/templates/header.html b/templates/header.html index 8d5b94af..ff0c1f06 100644 --- a/templates/header.html +++ b/templates/header.html @@ -127,9 +127,12 @@ {% if current_user.in_trial() %} - Premium expires {{ current_user.trial_end|dt }} - + + Premium expires {{ current_user.trial_end|dt }} + {% elif current_user.is_premium() %} From 53a050d4d11cf508ab86e7acabfea1f98869a8a3 Mon Sep 17 00:00:00 2001 From: Son Date: Fri, 20 May 2022 16:35:26 +0200 Subject: [PATCH 2/2] display user email if user name is empty --- templates/header.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/header.html b/templates/header.html index ff0c1f06..2298cae7 100644 --- a/templates/header.html +++ b/templates/header.html @@ -122,8 +122,8 @@ {% endif %} - - {{ current_user.name }} + + {{ current_user.name or current_user.email }} {% if current_user.in_trial() %}