From 99149d9f2a32dd7426c6c2e51762e0895ed8199c Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 17 Jul 2019 21:07:29 -0700 Subject: Refactor confirmation handler --- template/html/category_entries.html | 14 ++++---------- template/html/feed_entries.html | 14 ++++---------- template/html/unread_entries.html | 14 ++++---------- 3 files changed, 12 insertions(+), 30 deletions(-) (limited to 'template/html') diff --git a/template/html/category_entries.html b/template/html/category_entries.html index b6a2a69..a4076b9 100644 --- a/template/html/category_entries.html +++ b/template/html/category_entries.html @@ -7,15 +7,12 @@ {{ if .entries }}
  • - {{ t "menu.mark_page_as_read" }} - + data-show-only-unread="{{ if .showOnlyUnreadEntries }}1{{ end }}">{{ t "menu.mark_page_as_read" }}
  • {{ end }} {{ if .showOnlyUnreadEntries }} @@ -54,15 +51,12 @@ {{ end }} diff --git a/template/html/feed_entries.html b/template/html/feed_entries.html index ce65dce..c162faf 100644 --- a/template/html/feed_entries.html +++ b/template/html/feed_entries.html @@ -7,15 +7,12 @@ {{ if .entries }}
  • - {{ t "menu.mark_page_as_read" }} - + data-show-only-unread="{{ if .showOnlyUnreadEntries }}1{{ end }}">{{ t "menu.mark_page_as_read" }}
  • {{ end }} {{ if .showOnlyUnreadEntries }} @@ -82,15 +79,12 @@ {{ end }} diff --git a/template/html/unread_entries.html b/template/html/unread_entries.html index a728cf6..b0b2e15 100644 --- a/template/html/unread_entries.html +++ b/template/html/unread_entries.html @@ -7,14 +7,11 @@ {{ end }} -- cgit v1.2.3