From a6348396780a155bfab527a18a544959a6ab9d26 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 17 Jul 2019 21:52:45 -0700 Subject: Ask for confirmation before clicking on mark all as read --- template/html/unread_entries.html | 11 ++++++++--- template/views.go | 13 +++++++++---- 2 files changed, 17 insertions(+), 7 deletions(-) (limited to 'template') diff --git a/template/html/unread_entries.html b/template/html/unread_entries.html index b0b2e15..3ac37b6 100644 --- a/template/html/unread_entries.html +++ b/template/html/unread_entries.html @@ -14,9 +14,14 @@ data-label-loading="{{ t "confirm.loading" }}">{{ t "menu.mark_page_as_read" }}
  • - {{ t "menu.mark_all_as_read" }} + {{ t "menu.mark_all_as_read" }}
  • {{ end }} diff --git a/template/views.go b/template/views.go index 83006fd..69c8586 100644 --- a/template/views.go +++ b/template/views.go @@ -1335,9 +1335,14 @@ var templateViewsMap = map[string]string{ data-label-loading="{{ t "confirm.loading" }}">{{ t "menu.mark_page_as_read" }}
  • - {{ t "menu.mark_all_as_read" }} + {{ t "menu.mark_all_as_read" }}
  • {{ end }} @@ -1468,6 +1473,6 @@ var templateViewsMapChecksums = map[string]string{ "search_entries": "d71849a4f2b0573c7c76ad0ea941812009e9f022de60895987a781d3e6f08a01", "sessions": "1b3ec0970a4111b81f86d6ed187bb410f88972e2ede6723b9febcc4c7e5fc921", "settings": "152143e58d057ea6ab3bfd8dd947bfd70685843ca40e40542484b23849746df4", - "unread_entries": "5d23dc604496bcfa5ddfd1f5b8693aa5d94d2faa10979d04983e8bd8c7de36e9", + "unread_entries": "5c8c67d69da3e1d9437fdae967206b6dec84b241c806f32373071558f72d05d7", "users": "4b56cc76fbcc424e7c870d0efca93bb44dbfcc2a08b685cf799c773fbb8dfb2f", } -- cgit v1.2.3