Bugzilla – Attachment 15573 Details for
Bug 9675
Replace YUI buttons on authorities home page with Bootstrap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9675 - Replace YUI buttons on authorities home page with Bootstrap
Bug-9675---Replace-YUI-buttons-on-authorities-home.patch (text/plain), 3.26 KB, created by
Owen Leonard
on 2013-02-20 20:05:23 UTC
(
hide
)
Description:
Bug 9675 - Replace YUI buttons on authorities home page with Bootstrap
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2013-02-20 20:05:23 UTC
Size:
3.26 KB
patch
obsolete
>From 317cc0f681c8ca25631e7946a2c42eae9e5b5a7d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 20 Feb 2013 14:58:37 -0500 >Subject: [PATCH] Bug 9675 - Replace YUI buttons on authorities home page with > Bootstrap >Content-Type: text/plain; charset="utf-8" > >This patch converts the toolbar include file used by the >authorities home page and authority view page >(authorities-home.pl and authorities/detail.pl) replacing YUI button >and menu code with Bootstrap. > >To test: > >- View the authorities home page and confirm that the "New > authority" button looks correct and works correctly. >- Search for an existing authority and click the "Details" link to view. > "Edit," "Delete," "Save," and "New authority" buttons should look > correct and work correctly. The "Delete" button should only appear for > authorities which are unused. >--- > .../prog/en/includes/authorities-toolbar.inc | 24 ++++++++++++++------ > 1 file changed, 17 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc >index df132a4..e25f49f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-toolbar.inc >@@ -1,27 +1,37 @@ > <script type="text/javascript"> >- //<![CDATA[ >- $(document).ready(function() { >+//<![CDATA[ >+ $(document).ready(function() { > $("#delAuth").click(function(){ > confirm_deletion(); > return false; > }); > }); > >- //]]> >- </script> >+//]]> >+</script> > <div id="toolbar" class="btn-toolbar"> >- <form name="f2" method="post" action="authorities.pl"> > > [% IF ( authid ) %] > <div class="btn-group"><a class="btn btn-small" id="editAuth" href="authorities.pl?authid=[% authid %]"><i class="icon-pencil"></i> Edit</a></div> > [% UNLESS ( count ) %] > <div class="btn-group"><a href="#" class="btn btn-small" id="delAuth"><i class="icon-remove"></i> Delete</a></div> > [% END %] >- <div class="btn-group"><a class="btn btn-small" id="savemenuc"><i class="icon-hdd"></i> Save</a></div> >+ >+ <div class="btn-group"> >+ <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-download-alt"></i> Save >+ <span class="caret"></span> >+ </a> >+ <ul class="dropdown-menu"> >+ <li><a href="/cgi-bin/koha/authorities/export.pl?format=mads&op=export&authid=[% authid %]">MADS (XML)</a></li> >+ <li><a href="/cgi-bin/koha/authorities/export.pl?format=marcxml&op=export&authid=[% authid %]">MARCXML</a></li> >+ <li><a href="/cgi-bin/koha/authorities/export.pl?format=marc8&op=export&authid=[% authid %]">MARC (non-Unicode/MARC-8)</a></li> >+ <li><a href="/cgi-bin/koha/authorities/export.pl?format=utf8&op=export&authid=[% authid %]">MARC (Unicode/UTF-8)</a></li> >+ </ul> >+ </div> > [% END %] > > <div class="btn-group"> >- <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">New authority >+ <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#"><i class="icon-plus"></i> New authority > <span class="caret"></span> > </a> > <ul class="dropdown-menu"> >-- >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 9675
:
15573
|
15598
|
15599
|
15828