Bugzilla – Attachment 15874 Details for
Bug 9698
Replace YUI buttons on patron card creator manage toolbar with Bootstrap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 9698 - Replace YUI buttons on patron card creator manage toolbar with Bootstrap
PASSED-QA-Bug-9698---Replace-YUI-buttons-on-patron.patch (text/plain), 4.54 KB, created by
Katrin Fischer
on 2013-03-05 07:20:23 UTC
(
hide
)
Description:
[PASSED QA] Bug 9698 - Replace YUI buttons on patron card creator manage toolbar with Bootstrap
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-03-05 07:20:23 UTC
Size:
4.54 KB
patch
obsolete
>From 2491db6452bde7aaa3ef71af6e3247b55aa0114a Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 22 Feb 2013 10:50:23 -0500 >Subject: [PATCH] [PASSED QA] Bug 9698 - Replace YUI buttons on patron card > creator manage toolbar with Bootstrap > >This patch converts the toolbar include file used by the patron card >creator home and manage pages to Bootstrap, replacing YUI button and >menu code with Bootstrap markup. > >This patch converts the previous menu buttons to plain buttons, >removing the redundant links to the manage pages, which are in the >left-hand sidebar. This keeps toolbar buttons within the general >category of "action" (as opposed to "view"). > >To test, view the patron card creator home page and any manage page >("Manage layouts," "Manage profiles," etc). Buttons should look correct >and work correctly. > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> > >Comment: Work as described. No errors. >No "plus" sign for this buttons? > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >No plus signs? :) >Works nicely and didn't have the plus before, so it's ok. >--- > .../prog/en/includes/patroncards-toolbar.inc | 79 ++------------------ > 1 file changed, 5 insertions(+), 74 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc >index 92b01f9..ef32f2b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patroncards-toolbar.inc >@@ -1,75 +1,6 @@ >-<script type="text/javascript"> >- //<![CDATA[ >- // prepare DOM for YUI Toolbar >- $(document).ready(function() { >- $("#layoutsc").empty(); >- $("#templatesc").empty(); >- $("#profilesc").empty(); >- $("#batches").empty(); >- yuiToolbar(); >- }); >- >- // YUI Toolbar Functions >- function yuiToolbar() { >- var layouts = [ >- {text: _("Manage layouts"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=layout" }, >- {text: _("New layout"), url: "/cgi-bin/koha/patroncards/edit-layout.pl?op=new" } >- ]; >- >- var templates = [ >- {text: _("Manage templates"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=template" }, >- {text: _("New template"), url: "/cgi-bin/koha/patroncards/edit-template.pl?op=new" } >- ]; >- >- var profiles = [ >- {text: _("Manage profiles"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=profile" }, >- {text: _("New profile"), url: "/cgi-bin/koha/patroncards/edit-profile.pl?op=new" } >- ]; >- >- var batches = [ >- {text: _("Manage batches"), url: "/cgi-bin/koha/patroncards/manage.pl?card_element=batch" }, >- {text: _("New batch"), url: "/cgi-bin/koha/patroncards/edit-batch.pl?op=new" } >- ]; >- >- new YAHOO.widget.Button({ >- type: "menu", >- label: _("Layouts"), >- name: "layouts", >- menu: layouts, >- container: "layoutsc" >- }); >- >- new YAHOO.widget.Button({ >- type: "menu", >- label: _("Templates"), >- name: "templates", >- menu: templates, >- container: "templatesc" >- }); >- >- new YAHOO.widget.Button({ >- type: "menu", >- label: _("Profiles"), >- name: "profiles", >- menu: profiles, >- container: "profilesc" >- }); >- >- new YAHOO.widget.Button({ >- type: "menu", >- label: _("Batches"), >- name: "batches", >- menu: batches, >- container: "batchesc" >- }); >- } >-//]]> >-</script> >-<div id="toolbar"> >- <ul class="toolbar"> >- <li id="layoutsc"><a id="layouts" href="#">Layouts</a></li> >- <li id="templatesc"><a id="templates" href="#">Templates</a></li> >- <li id="profilesc"><a id="profiles" href="#">Profiles</a></li> >- <li id="batchesc"><a id="batches" href="#">Batches</a></li> >- </ul> >+<div id="toolbar" class="btn-toolbar"> >+ <a class="btn btn-small" id="layouts" href="/cgi-bin/koha/patroncards/edit-layout.pl?op=new">New layout</a> >+ <a class="btn btn-small" id="templates" href="/cgi-bin/koha/patroncards/edit-template.pl?op=new">New template</a> >+ <a class="btn btn-small" id="profiles" href="/cgi-bin/koha/patroncards/edit-profile.pl?op=new">New profile</a> >+ <a class="btn btn-small" id="batches" href="/cgi-bin/koha/patroncards/edit-batch.pl?op=new">New batch</a> > </div> >-- >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 9698
:
15625
|
15641
| 15874