From d6f628fed79f63951e2b3c1c30606d0517b8fb33 Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 31 Mar 2022 16:03:50 +0000 Subject: Replace 'User Account Settings' with user's e-mail and add user_email property to user_session Also changed the order of the dropdowns to have Sign Out after the user drop-down, to more closely match NCBI's style --- wqflask/wqflask/templates/base.html | 16 ++++++++-------- wqflask/wqflask/user_session.py | 10 ++++++++++ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/wqflask/wqflask/templates/base.html b/wqflask/wqflask/templates/base.html index ad2e3744..9b75b452 100644 --- a/wqflask/wqflask/templates/base.html +++ b/wqflask/wqflask/templates/base.html @@ -106,22 +106,22 @@
  • REST API Documentation
  • -
  • - {% if g.user_session.logged_in %} - Sign out - {% else %} - Sign in - {% endif %} -
  • {% if g.user_session.logged_in %}
  • - +
  • {% endif %} +
  • + {% if g.user_session.logged_in %} + Sign out + {% else %} + Sign in + {% endif %} +
  • {% endif %}