about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 %}