Bugzilla – Attachment 15415 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]
Bug 9646 - Replace YUI button on the printers administration page with Bootstrap
Bug-9646---Replace-YUI-button-on-the-printers-admi.patch (text/plain), 2.00 KB, created by
Owen Leonard
on 2013-02-15 20:50:57 UTC
(
hide
)
Description:
Bug 9646 - Replace YUI button on the printers administration page with Bootstrap
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-02-15 20:50:57 UTC
Size:
2.00 KB
patch
obsolete
>From a0411eab6cf4ffd0cd41c35e7c66d854844971a4 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Sun, 3 Feb 2013 08:43:16 -0500 >Subject: [PATCH] Bug 9646 - Replace YUI button on the printers administration > page with Bootstrap >Content-Type: text/plain; charset="utf-8" > >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. >--- > .../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