Bug 15826 - Use Font Awesome icons in confirmation dialogs - Tools

I only found one confirmation dialog, all the others use javascript.

To test:
Go to Tools -> Notices and Slips
Click Delete on a notice
Confirm Yes and No options still work as expected
Check Tools module in case I missed any confirm dialogs

Sponsored-by: Catalyst IT

Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
This commit is contained in:
Aleisha 2016-02-16 04:29:59 +00:00 committed by Brendan Gallagher
parent 915c81191a
commit 3f6a9330bb

View file

@ -465,11 +465,11 @@ $(document).ready(function() {
<input type="hidden" name="branchcode" value="[% letter.branchcode %]" />
<input type="hidden" name="code" value="[% letter.code %]" />
<input type="hidden" name="module" value="[% letter.module %]" />
<input type="submit" value="Yes, delete" class="approve" />
<button type="submit" class="approve"><i class="fa fa-check"></i> Yes, delete</button>
</form>
<form action="[% action %]" method="get">
<input type="submit" value="No, do not delete" class="deny" />
<button type="submit" class="deny"><i class="fa fa-times"></i> No, do not delete</button>
</form>
</div>
[% END %]