From fb6de4fb3de1ec7a6f869ee04bdd7f2d156b8f44 Mon Sep 17 00:00:00 2001 From: Brandon Lo Date: Mon, 8 Jul 2019 11:07:49 -0400 Subject: Add 'no messages available' to empty inbox Added a simple check to see if the list element had no children, and if so, it would add a simple message saying that no messages are available. Change-Id: I6f3d40a6355502bc621ce4d19f556d4733877200 Signed-off-by: Brandon Lo --- src/templates/notifier/inbox.html | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'src/templates') diff --git a/src/templates/notifier/inbox.html b/src/templates/notifier/inbox.html index 9d7b426..26b6d32 100644 --- a/src/templates/notifier/inbox.html +++ b/src/templates/notifier/inbox.html @@ -18,6 +18,7 @@
+ No messages available
{% for notification in unread_notifications %} {% endblock %} \ No newline at end of file -- cgit 1.2.3-korg