diff options
Diffstat (limited to 'template/html/unread_entries.html')
-rw-r--r-- | template/html/unread_entries.html | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/template/html/unread_entries.html b/template/html/unread_entries.html index 2954ec1..a728cf6 100644 --- a/template/html/unread_entries.html +++ b/template/html/unread_entries.html @@ -6,7 +6,15 @@ {{ if .entries }} <ul> <li> - <a href="#" data-on-click="markPageAsRead">{{ t "menu.mark_page_as_read" }}</a> + <a href="#" + data-confirm="true" + data-label-question="{{ t "confirm.question" }}" + data-label-yes="{{ t "confirm.yes" }}" + data-label-no="{{ t "confirm.no" }}" + data-label-loading="{{ t "confirm.loading" }}" + data-mark-page-as-read="true"> + {{ t "menu.mark_page_as_read" }} + </a> </li> <li> <a data-link-state="flip" @@ -40,7 +48,15 @@ {{ if .entries }} <ul> <li> - <a href="#" data-on-click="markPageAsRead">{{ t "menu.mark_page_as_read" }}</a> + <a href="#" + data-confirm="true" + data-label-question="{{ t "confirm.question" }}" + data-label-yes="{{ t "confirm.yes" }}" + data-label-no="{{ t "confirm.no" }}" + data-label-loading="{{ t "confirm.loading" }}" + data-mark-page-as-read="true"> + {{ t "menu.mark_page_as_read" }} + </a> </li> </ul> {{ end }} |