From 44bc42bfd12ab916cead02b1a088fa29f47bd8df Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 18 May 2023 14:11:31 +0300 Subject: auth: Display flash messages. --- wqflask/wqflask/templates/collections/list.html | 4 +++- wqflask/wqflask/templates/collections/view.html | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/wqflask/wqflask/templates/collections/list.html b/wqflask/wqflask/templates/collections/list.html index fc524c73..3719bee5 100644 --- a/wqflask/wqflask/templates/collections/list.html +++ b/wqflask/wqflask/templates/collections/list.html @@ -9,7 +9,9 @@ {% block content %}
- {% if g.user_session.logged_in %} + {{flash_me()}} + + {% if g.user_session.logged_in %}

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

{% else %}

Your Collections

diff --git a/wqflask/wqflask/templates/collections/view.html b/wqflask/wqflask/templates/collections/view.html index 1d9b7bcd..b06c9951 100644 --- a/wqflask/wqflask/templates/collections/view.html +++ b/wqflask/wqflask/templates/collections/view.html @@ -11,6 +11,7 @@
+ {{flash_me()}}

{{ uc.name }} -- cgit v1.2.3