Bugzilla – Attachment 48276 Details for
Bug 15858
Use Font Awesome icons in dialog alert for addorder.tt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15858: Use Font Awesome icons in dialog alert for addorder.tt
Bug-15858-Use-Font-Awesome-icons-in-dialog-alert-f.patch (text/plain), 2.18 KB, created by
Jonathan Druart
on 2016-02-22 11:21:45 UTC
(
hide
)
Description:
Bug 15858: Use Font Awesome icons in dialog alert for addorder.tt
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-02-22 11:21:45 UTC
Size:
2.18 KB
patch
obsolete
>From a63c42ba4e58e3a7cd3c480320a243f452a708cf Mon Sep 17 00:00:00 2001 >From: Hector Castro <hector.hecaxmmx@gmail.com> >Date: Thu, 18 Feb 2016 14:54:53 -0600 >Subject: [PATCH] Bug 15858: Use Font Awesome icons in dialog alert for > addorder.tt >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >A warning is raised when order amount exceed budget or fund this dialog needs to be styled with Font Awesome icons. > >To test: >-Add orders to a basket >-Exceed a fund or budget >-Notice about the dialog alert >-Apply patch >-Exceed again and see the new icons > >Signed-off-by: Marc Véron <veron@veron.ch> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorder.tt | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorder.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorder.tt >index 322e535..5656b80 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorder.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorder.tt >@@ -19,7 +19,7 @@ > [% END %] > [% END %] > <input type="hidden" name="confirm_budget_exceeding" value="1" /> >- <div class="dialog"> >+ <div class="dialog alert"> > [% IF (budget_exceeded) %] > <p>Warning! Order total amount exceeds allowed budget.</p> > [% END %] >@@ -30,8 +30,8 @@ > <p>Warning! You will exceed maximum limit ([% expenditure %][% IF (currency) %] [% currency %][% END %]) for your fund.</p> > [% END %] > <p>Do you want to confirm this order?</p> >- <input type="submit" class="approve" value="Yes, I confirm" /> >- <input type="button" class="deny" value="No, I don't confirm" onclick="window.location.href = '[% referer %]'" /> >+ <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, I confirm</button> >+ <button type="button" class="deny" onclick="window.location.href = '[% referer %]'"><i class="fa fa-fw fa-remove"></i> No, I don't confirm</button> > </div> > </form> > [% END %] >-- >2.7.0
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 15858
:
48223
|
48228
| 48276