Bugzilla – Attachment 15402 Details for
Bug 9639
Replace YUI button on MARC tag structure toolbar with Bootstrap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9639 - Replace YUI button on MARC tag structure toolbar with Bootstrap
Bug-9639---Replace-YUI-button-on-MARC-tag-structur.patch (text/plain), 1.82 KB, created by
Owen Leonard
on 2013-02-15 19:57:11 UTC
(
hide
)
Description:
Bug 9639 - Replace YUI button on MARC tag structure toolbar with Bootstrap
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-02-15 19:57:11 UTC
Size:
1.82 KB
patch
obsolete
>From c79e6cfba4bfbaa7b437ec5fc6b6e594e3853666 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Sun, 3 Feb 2013 07:53:30 -0500 >Subject: [PATCH] Bug 9639 - Replace YUI button on MARC tag structure toolbar > with Bootstrap >Content-Type: text/plain; charset="utf-8" > >This patch converts the toolbar used on the MARC tag structure toolbar >to Bootstrap, replacing YUI button code with Bootstrap markup. > >To test, view marctagstructure.pl for any framework. Confirm that the >'New tag' button looks correct and works correctly. >--- > .../prog/en/modules/admin/marctagstructure.tt | 11 +++-------- > 1 file changed, 3 insertions(+), 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt >index d0f0132..8886fcf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt >@@ -30,10 +30,6 @@ function Check(f) { > alert(alertString2); > } > } >- >-$(document).ready(function() { >- new YAHOO.widget.Button("addtag"); >-}); > //]]> > </script> > </head> >@@ -65,10 +61,9 @@ $(document).ready(function() { > <div class="yui-b"> > > [% IF ( else ) %] >-<div id="toolbar"> >- <ul class="toolbar"> >- <li><a id="addtag" href="/cgi-bin/koha/admin/marctagstructure.pl?op=add_form&frameworkcode=[% frameworkcode %]">New tag</a></li> >-</ul></div>[% END %] >+<div id="toolbar" class="btn-toolbar"> >+ <a class="btn btn-small" id="addtag" href="/cgi-bin/koha/admin/marctagstructure.pl?op=add_form&frameworkcode=[% frameworkcode %]"><i class="icon-plus"></i> New tag</a> >+</div>[% END %] > > <h1>MARC Framework for [% IF ( frameworkcode ) %][% frameworktext %] ([% frameworkcode %])[% ELSE %]default MARC framework[% END %]</h1> > >-- >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 9639
:
15402
|
15411
|
15465