From 5bc8782d33d81681ba18a4ec262a51d856e9975f Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Thu, 5 Jul 2018 16:35:42 +0100 Subject: [PATCH] Don't display buttons if there are no system notifications (#4280) * Don't display buttons if there are no notices * remove redundant gt check --- 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 745433d180..b1d886be42 100644 --- a/templates/admin/notice.tmpl +++ b/templates/admin/notice.tmpl @@ -34,33 +34,35 @@ {{end}} - - - - -
- {{.i18n.Tr "admin.notices.delete_all"}} -
-