aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/history_entries.html
diff options
context:
space:
mode:
Diffstat (limited to 'template/html/history_entries.html')
-rw-r--r--template/html/history_entries.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/template/html/history_entries.html b/template/html/history_entries.html
index 0888778..109e1a2 100644
--- a/template/html/history_entries.html
+++ b/template/html/history_entries.html
@@ -6,7 +6,13 @@
{{ if .entries }}
<ul>
<li>
- <a href="{{ route "flushHistory" }}">{{ t "menu.flush_history" }}</a>
+ <a href="#"
+ data-confirm="true"
+ data-url="{{ route "flushHistory" }}"
+ 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.flush_history" }}</a>
</li>
</ul>
{{ end }}