Bugzilla – Attachment 15460 Details for
Bug 9643
Replace YUI button on the road types administration page with Bootstrap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 9643 - Replace YUI button on the road types administration page with Bootstrap
PASSED-QA-Bug-9643---Replace-YUI-button-on-the-roa.patch (text/plain), 1.85 KB, created by
Katrin Fischer
on 2013-02-17 12:22:30 UTC
(
hide
)
Description:
[PASSED QA] Bug 9643 - Replace YUI button on the road types administration page with Bootstrap
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-02-17 12:22:30 UTC
Size:
1.85 KB
patch
obsolete
>From a61727b110037eab0717a2ed5d358f350c7e5f51 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Sun, 3 Feb 2013 08:58:26 -0500 >Subject: [PATCH] [PASSED QA] Bug 9643 - Replace YUI button on the road types > administration page with Bootstrap > >This patch converts the toolbar on the road types administration >page to to Bootstrap, replacing YUI button code with Bootstrap markup. > >To test, view the road types administration page and confirm that >the "New road type" button looks correct and works correctly. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> > >Comment: Confirmed, button works and looks correctly. No errors. > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >Works nicely, no problems found. >--- > .../prog/en/modules/admin/roadtype.tt | 24 +++----------------- > 1 file changed, 3 insertions(+), 21 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/roadtype.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/roadtype.tt >index 1c3ff5e..ad491fd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/roadtype.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/roadtype.tt >@@ -108,27 +108,9 @@ > > [% IF ( else ) %] > >-<div id="toolbar"> >- <script type="text/javascript"> >- //<![CDATA[ >- >- // prepare DOM for YUI Toolbar >- >- $(document).ready(function() { >- yuiToolbar(); >- }); >- >- // YUI Toolbar Functions >- >- function yuiToolbar() { >- new YAHOO.widget.Button("addroad"); >- } >- >- //]]> >- </script> >- <ul class="toolbar"> >- <li><a id="addroad" href="/cgi-bin/koha/admin/roadtype.pl?op=add_form">New road type</a></li> >-</ul></div> >+<div id="toolbar" class="btn-toolbar"> >+ <a class="btn btn-small" id="addroad" href="/cgi-bin/koha/admin/roadtype.pl?op=add_form"><i class="icon-plus"></i> New road type</a> >+</div> > > <h2>Road type</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 9643
:
15408
|
15417
| 15460