Bugzilla – Attachment 15420 Details for
Bug 9646
Replace YUI buttons on the printers administration page with Bootstrap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 9646 - Replace YUI button on the printers administration page with Bootstrap
SIGNED-OFF-Bug-9646---Replace-YUI-button-on-the-pr.patch (text/plain), 2.17 KB, created by
Bernardo Gonzalez Kriegel
on 2013-02-15 22:11:22 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 9646 - Replace YUI button on the printers administration page with Bootstrap
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2013-02-15 22:11:22 UTC
Size:
2.17 KB
patch
obsolete
>From ef4e3d15b91c0ddb14e1747f268a69aa061edf83 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Sun, 3 Feb 2013 08:43:16 -0500 >Subject: [PATCH] [SIGNED-OFF] Bug 9646 - Replace YUI button on the printers > administration page with Bootstrap > >This patch converts the toolbar on the printers administration page to >Bootstrap, replacing YUI button code with Bootstrap markup. > >To test, view the printers administration page and confirm that the "New >printer" button looks correct and works correctly. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> > >Comment: Works well. No errors. >Off-topic: How do you access this page? I can't find a link >(tested using .../cgi-bin/koha/admin/printers.pl) >--- > .../prog/en/modules/admin/printers.tt | 17 ++++------------- > 1 file changed, 4 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/printers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/printers.tt >index 7dfb80b..6edc88f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/printers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/printers.tt >@@ -145,7 +145,7 @@ > <form action="[% script_name %]" method="post"> > <input type="hidden" name="op" value="delete_confirmed" /> > <input type="hidden" name="searchfield" value="[% searchfield %]" /> >- <input type="submit" value="Delete this Printer" /> >+ <input type="submit" value="Delete this printer" /> > </form> <form action="[% script_name %]" method="post"> > <input type="submit" value="Do not Delete" /> > </form> >@@ -160,18 +160,9 @@ > > [% IF ( else ) %] > >-<div id="toolbar"> >- <script type="text/javascript"> >- //<![CDATA[ >- // prepare DOM for YUI Toolbar >- $(document).ready(function() { >- new YAHOO.widget.Button("newprinter"); >- }); >- //]]> >- </script> >- <ul class="toolbar"> >- <li><a id="newprinter" href="/cgi-bin/koha/admin/printers.pl?op=add_form">New printer</a></li> >-</ul></div> >+<div id="toolbar" class="btn-toolbar"> >+ <a class="btn btn-small" id="newprinter" href="/cgi-bin/koha/admin/printers.pl?op=add_form"><i class="icon-plus"></i> New printer</a> >+</div> > > <h2>Printers</h2> > [% IF ( searchfield ) %] >-- >1.7.9.5
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 9646
:
15415
|
15420
|
15444