From d8f20438b2aae1bdcac43a1369444df6149e8b82 Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Tue, 19 Jun 2018 22:56:09 +0100 Subject: [PATCH 1/2] Don't display buttons if there are no notices --- templates/admin/notice.tmpl | 50 +++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/templates/admin/notice.tmpl b/templates/admin/notice.tmpl index 745433d180f44..1d649ddb8d8fc 100644 --- a/templates/admin/notice.tmpl +++ b/templates/admin/notice.tmpl @@ -34,33 +34,35 @@ {{end}} - - - - -
- {{.i18n.Tr "admin.notices.delete_all"}} -
-