diff options
Diffstat (limited to 'template/html/unread_entries.html')
-rw-r--r-- | template/html/unread_entries.html | 11 |
1 files changed, 8 insertions, 3 deletions
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" }}</a> </li> <li> - <a data-link-state="flip" - data-label-new-state="{{ t "menu.mark_all_as_read_wip" }}" - href="{{ route "markAllAsRead" }}">{{ t "menu.mark_all_as_read" }}</a> + <a href="#" + data-confirm="true" + data-url="{{ route "markAllAsRead" }}" + data-redirect-url="{{ route "unread" }}" + data-label-question="{{ t "confirm.question" }}" + data-label-yes="{{ t "confirm.yes" }}" + data-label-no="{{ t "confirm.no" }}" + data-label-loading="{{ t "confirm.loading" }}">{{ t "menu.mark_all_as_read" }}</a> </li> </ul> {{ end }} |