From 52fdc8c2120e459772e221c68b25bf6e7060f6f8 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Tue, 29 May 2018 17:20:11 +0100 Subject: [PATCH] Add clear all button to notifications page --- app/templates/notifications/list.html | 6 ++++++ app/views/notifications.py | 9 ++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/app/templates/notifications/list.html b/app/templates/notifications/list.html index fb133e8..d6de54e 100644 --- a/app/templates/notifications/list.html +++ b/app/templates/notifications/list.html @@ -5,6 +5,12 @@ Notifications {% endblock %} {% block content %} + {% if current_user.notifications %} +
+ + +
+ {% endif %}