From fcfa516000044bd93824ffb4d857866c58a7c193 Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 28 Apr 2022 15:13:59 +0000 Subject: Display user email on collection list page when user_name doesn't exist --- wqflask/wqflask/templates/collections/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wqflask/wqflask/templates/collections/list.html b/wqflask/wqflask/templates/collections/list.html index 0ab54878..e6a1ec9b 100644 --- a/wqflask/wqflask/templates/collections/list.html +++ b/wqflask/wqflask/templates/collections/list.html @@ -9,7 +9,7 @@
{% if g.user_session.logged_in %} -

Collections owned by {{ g.user_session.user_name }}

+

Collections owned by {% if g.user_session.user_name %}{{ g.user_session.user_name }}{% else %}{{ g.user_session.user_email }} {% endif %}

{% else %}

Your Collections

{% endif %} -- cgit v1.2.3