diff options
author | zsloan | 2022-04-28 15:13:59 +0000 |
---|---|---|
committer | zsloan | 2022-05-10 19:39:27 +0000 |
commit | fcfa516000044bd93824ffb4d857866c58a7c193 (patch) | |
tree | 65705d189c872287a2419aef7456c93dd196523c /wqflask | |
parent | a6c79d92eeecfae7c3d04ec233cd2de5eefc0675 (diff) | |
download | genenetwork2-fcfa516000044bd93824ffb4d857866c58a7c193.tar.gz |
Display user email on collection list page when user_name doesn't exist
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/collections/list.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <!-- Start of body --> <div class="container"> {% if g.user_session.logged_in %} - <h1>Collections owned by {{ g.user_session.user_name }}</h1> + <h1>Collections owned by {% if g.user_session.user_name %}{{ g.user_session.user_name }}{% else %}{{ g.user_session.user_email }} {% endif %}</h1> {% else %} <h1>Your Collections</h1> {% endif %} |