Bugzilla – Attachment 48584 Details for
Bug 15961
Use Font Awesome icons for confirmation of currency deletion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 15961 - Use Font Awesome icons for confirmation of currency deletion
PASSED-QA-Bug-15961---Use-Font-Awesome-icons-for-c.patch (text/plain), 3.08 KB, created by
Katrin Fischer
on 2016-03-03 06:56:02 UTC
(
hide
)
Description:
[PASSED QA] Bug 15961 - Use Font Awesome icons for confirmation of currency deletion
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2016-03-03 06:56:02 UTC
Size:
3.08 KB
patch
obsolete
>From 901fe6d8bd2eb4902f1546d5de1f2da2ab6cf63f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 2 Mar 2016 12:35:56 -0500 >Subject: [PATCH] [PASSED QA] Bug 15961 - Use Font Awesome icons for > confirmation of currency deletion > >When deleting a currency, the confirmation and error dialogs should use >Font Awesome icons. This patch makes this change. > >To test, apply the patch and go to Administration -> Currencies and >exchange rates. > >- Click the "delete" link next to any currency. >- Verify that the confirmation dialog is correctly styled. > - Test the both cancel and confirm operations. > - Verify that the deletion confirmation dialog is correctly styled. > >Bug 15962 prevents testing the error dialog which should appear if you >try to delete a currency which is use (defined as a currency in a vendor >record). To test this error you could manually enter a currency code >into aqbooksellers.currency and then try to delete that currency. > >Signed-off-by: Nicole C Engard <nengard@bywatersolutions.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >index e1268c7..965c638 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >@@ -124,11 +124,11 @@ > > [% IF ( delete_confirm ) %] > [% IF ( totalgtzero ) %] >- <div class="dialog message"> >+ <div class="dialog alert"> > <h3>Cannot delete currency <span class="ex">'[% searchfield %]'</span></h3> > <p>This currency is used [% total %] times. Deletion not possible</p> > <form action="[% script_name %]" method="post"> >- <input type="submit" value="OK" class="approve" /> >+ <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button> > </form> > </div> > [% ELSE %] >@@ -145,10 +145,10 @@ > <form action="[% script_name %]" method="post"> > <input type="hidden" name="op" value="delete_confirmed" /> > <input type="hidden" name="searchfield" value="[% searchfield %]" /> >- <input type="submit" class="approve" value="Delete this currency" /> >+ <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this currency</button> > </form> > <form action="[% script_name %]" method="post"> >- <input type="submit" class="deny" value="No, do not delete" /> >+ <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> > </form> > </div> > [% END %] >@@ -157,7 +157,7 @@ > [% IF ( delete_confirmed ) %] > <div class="dialog message"><h3>Currency deleted</h3> > <form action="[% script_name %]" method="post"> >- <input type="submit" class="approve" value="OK" /> >+ <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button> > </form></div> > [% END %] > >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15961
:
48555
|
48563
|
48584
|
48690