mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Ask for confirmation before removing something
This commit is contained in:
parent
25a5250eb9
commit
5983db1a77
15 changed files with 165 additions and 40 deletions
|
@ -37,7 +37,13 @@
|
|||
</li>
|
||||
{{ if eq .FeedCount 0 }}
|
||||
<li>
|
||||
<a href="{{ route "removeCategory" "categoryID" .ID }}">{{ t "Remove" }}</a>
|
||||
<a href="#"
|
||||
data-confirm="true"
|
||||
data-label-question="{{ t "Are you sure?" }}"
|
||||
data-label-yes="{{ t "yes" }}"
|
||||
data-label-no="{{ t "no" }}"
|
||||
data-label-loading="{{ t "Work in progress..." }}"
|
||||
data-url="{{ route "removeCategory" "categoryID" .ID }}">{{ t "Remove" }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue