Bugzilla – Attachment 15407 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]
Bug 9642 - Replace YUI button on the patron attribute types page with Bootstrap
Bug-9642---Replace-YUI-button-on-the-patron-attrib.patch (text/plain), 1.78 KB, created by
Owen Leonard
on 2013-02-15 20:12:23 UTC
(
hide
)
Description:
Bug 9642 - Replace YUI button on the patron attribute types page with Bootstrap
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-02-15 20:12:23 UTC
Size:
1.78 KB
patch
obsolete
>From 809d340da717faaff61bee82ceb7cdadefe2bb27 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Sun, 3 Feb 2013 08:14:10 -0500 >Subject: [PATCH] Bug 9642 - Replace YUI button on the patron attribute types > page with Bootstrap >Content-Type: text/plain; charset="utf-8" > >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. >--- > .../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