Bugzilla – Attachment 15416 Details for
Bug 9642
Replace YUI button on the patron attribute types administration page with Bootstrap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 9642 - Replace YUI button on the patron attribute types page with Bootstrap
SIGNED-OFF-Bug-9642---Replace-YUI-button-on-the-pa.patch (text/plain), 1.87 KB, created by
Bernardo Gonzalez Kriegel
on 2013-02-15 21:11:49 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 9642 - Replace YUI button on the patron attribute types page with Bootstrap
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2013-02-15 21:11:49 UTC
Size:
1.87 KB
patch
obsolete
>From 65b169a65453c6ca105347075d1bd613a5ef8ccd Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Sun, 3 Feb 2013 08:14:10 -0500 >Subject: [PATCH] [SIGNED-OFF] Bug 9642 - Replace YUI button on the patron > attribute types page with Bootstrap > >This patch converts the toolbar on the patron attributes administration >page to Bootstrap, replacing YUI button code with Bootstrap markup. > >To test, view the patron attribute types administration page and confirm >that the "New patron attribute type" button looks correct and works >correctly. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> > >Comment: Button looks and works correctly. No errors. >--- > .../prog/en/modules/admin/patron-attr-types.tt | 18 +++--------------- > 1 file changed, 3 insertions(+), 15 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >index d70bdbd..985ece5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >@@ -261,21 +261,9 @@ function CheckAttributeTypeForm(f) { > > [% IF ( display_list ) %] > >-<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("newrule"); >- } //]]> >- </script> >- <ul class="toolbar"> >- <li><a id="newrule" href="[% script_name %]?op=add_attribute_type">New patron attribute type</a></li> >-</ul></div> >+<div id="toolbar" class="btn-toolbar"> >+ <a class="btn btn-small" id="newrule" href="[% script_name %]?op=add_attribute_type"><i class="icon-plus"></i> New patron attribute type</a> >+</div> > > <h2>Patron attribute types</h2> > [% IF ( added_attribute_type ) %] >-- >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 9642
:
15407
|
15416
|
15461