diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-01-04 18:11:15 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-01-04 18:11:15 -0800 |
commit | c57cafbef28a8a12cae02674b3c36979acb0e576 (patch) | |
tree | dde0c13961831f718867330768742d36fb5f6d60 /template | |
parent | efac11e0829ded936b08f1e3e072d4f3792fd7da (diff) |
Add link to mark everything as read
Diffstat (limited to 'template')
-rw-r--r-- | template/html/unread.html | 3 | ||||
-rw-r--r-- | template/views.go | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/template/html/unread.html b/template/html/unread.html index feb5beb..7f285d0 100644 --- a/template/html/unread.html +++ b/template/html/unread.html @@ -8,6 +8,9 @@ <li> <a href="#" data-on-click="markPageAsRead">{{ t "Mark this page as read" }}</a> </li> + <li> + <a href="{{ route "markAllAsRead" }}">{{ t "Mark all as read" }}</a> + </li> </ul> {{ end }} </section> diff --git a/template/views.go b/template/views.go index 8bc5c79..50bfde0 100644 --- a/template/views.go +++ b/template/views.go @@ -1,5 +1,5 @@ // Code generated by go generate; DO NOT EDIT. -// 2018-01-02 21:59:10.091229271 -0800 PST m=+0.018604600 +// 2018-01-04 18:06:27.666788074 -0800 PST m=+0.018144510 package template @@ -1209,6 +1209,9 @@ var templateViewsMap = map[string]string{ <li> <a href="#" data-on-click="markPageAsRead">{{ t "Mark this page as read" }}</a> </li> + <li> + <a href="{{ route "markAllAsRead" }}">{{ t "Mark all as read" }}</a> + </li> </ul> {{ end }} </section> @@ -1351,6 +1354,6 @@ var templateViewsMapChecksums = map[string]string{ "sessions": "878dbe8f8ea783b44130c495814179519fa5c3aa2666ac87508f94d58dd008bf", "settings": "ea2505b9d0a6d6bb594dba87a92079de19baa6d494f0651693a7685489fb7de9", "starred": "33dd40d1a24739e9d05f9cc4b66497cfdb8c86a7abb209a66ca65c2fbafc7d87", - "unread": "f4eb7410925e174918f1b55414c9b0b81632f7e13ce649579c8593097bb0f1d7", + "unread": "690bac794c4d21086f1a03588753088d7c26385de9a0c2723add6c7905b63f5e", "users": "44677e28bb5347799ed0020c90ec785aadec4b1454446d92411cfdaf6e32110b", } |