Bugzilla – Attachment 37656 Details for
Bug 7369
Ability to duplicate existing items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 7369 - Use dropdown buttons for item actions
PASSED-QA-Bug-7369---Use-dropdown-buttons-for-item.patch (text/plain), 3.98 KB, created by
Kyle M Hall (khall)
on 2015-04-10 14:34:39 UTC
(
hide
)
Description:
[PASSED QA] Bug 7369 - Use dropdown buttons for item actions
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-04-10 14:34:39 UTC
Size:
3.98 KB
patch
obsolete
>From 7389a8c163545a5c44db5f66d111f0e64f639889 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@quecheelibrary.org> >Date: Sat, 4 Apr 2015 06:06:37 -0400 >Subject: [PATCH] [PASSED QA] Bug 7369 - Use dropdown buttons for item actions > >NOTE: Tested both patches together. > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../prog/en/modules/cataloguing/additem.tt | 18 +++++++++++++----- > 1 files changed, 13 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >index e340282..20a8776 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >@@ -177,17 +177,25 @@ $(document).ready(function() { > <td> </td> > [% ELSE %] > <td> >+ <div class="dropdown"> >+ <a class="btn btn-mini dropdown-toggle" id="itemactions[% item_loo.itemnumber %]" role="button" data-toggle="dropdown" href="#"> >+ Actions <b class="caret"></b> >+ </a> >+ <ul class="dropdown-menu" role="menu" aria-labelledby="itemactions[% item_loo.itemnumber %]"> >+ > [% IF ( item_loo.hostitemflag ) %] >- <a href="additem.pl?op=edititem&biblionumber=[% item_loo.hostbiblionumber %]&itemnumber=[% item_loo.itemnumber %]#edititem">Edit in host</a> <a class="delete" href="/cgi-bin/koha/cataloguing/additem.pl?op=delinkitem&biblionumber=[% biblionumber %]&hostitemnumber=[% item_loo.itemnumber %]">Delink</a> >+ <li><a href="additem.pl?op=edititem&biblionumber=[% item_loo.hostbiblionumber %]&itemnumber=[% item_loo.itemnumber %]#edititem">Edit in host</a> <a class="delete" href="/cgi-bin/koha/cataloguing/additem.pl?op=delinkitem&biblionumber=[% biblionumber %]&hostitemnumber=[% item_loo.itemnumber %]">Delink</a></li> > [% ELSE %] >- <a href="additem.pl?op=edititem&biblionumber=[% biblionumber %]&itemnumber=[% item_loo.itemnumber %]#edititem">Edit</a> >- <a href="additem.pl?op=dupeitem&biblionumber=[% biblionumber %]&itemnumber=[% item_loo.itemnumber %]#additema">Duplicate</a> >+ <li><a href="additem.pl?op=edititem&biblionumber=[% biblionumber %]&itemnumber=[% item_loo.itemnumber %]#edititem">Edit</a></li> >+ <li><a href="additem.pl?op=dupeitem&biblionumber=[% biblionumber %]&itemnumber=[% item_loo.itemnumber %]#additema">Duplicate</a></li> > [% IF ( item_loo.countanalytics ) %] >- <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=% item_loo.itemnumber %]">View analytics</a> >+ <li><a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=% item_loo.itemnumber %]">View analytics</a></li> > [% ELSE %] >- <a class="delete" href="/cgi-bin/koha/cataloguing/additem.pl?op=delitem&biblionumber=[% biblionumber %]&itemnumber=[% item_loo.itemnumber %]" onclick="confirm_deletion([% biblionumber %],[% item_loo.itemnumber %]); return false;">Delete</a> >+ <li><a class="delete" href="/cgi-bin/koha/cataloguing/additem.pl?op=delitem&biblionumber=[% biblionumber %]&itemnumber=[% item_loo.itemnumber %]" onclick="confirm_deletion([% biblionumber %],[% item_loo.itemnumber %]); return false;">Delete</a></li> > [% END %] > [% END %] >+ </ul> >+ </div> > </td> > [% END %] > [% FOREACH item_valu IN item_loo.item_value %] >-- >1.7.2.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 7369
:
37080
|
37352
|
37496
|
37498
|
37502
|
37503
|
37504
|
37505
|
37506
|
37507
|
37655
|
37656
|
44522
|
44523
|
44524