aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2022-04-28 15:13:59 +0000
committerzsloan2022-05-10 19:39:27 +0000
commitfcfa516000044bd93824ffb4d857866c58a7c193 (patch)
tree65705d189c872287a2419aef7456c93dd196523c /wqflask
parenta6c79d92eeecfae7c3d04ec233cd2de5eefc0675 (diff)
downloadgenenetwork2-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.html2
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 %}