Bugzilla – Attachment 63147 Details for
Bug 16545
Make edit link a styled button in item search results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16545 - Make edit link a styled button in item search results
Bug-16545---Make-edit-link-a-styled-button-in-item.patch (text/plain), 1.82 KB, created by
Owen Leonard
on 2017-05-04 18:29:47 UTC
(
hide
)
Description:
Bug 16545 - Make edit link a styled button in item search results
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2017-05-04 18:29:47 UTC
Size:
1.82 KB
patch
obsolete
>From 40ee37d7a4c3e3d803c293ead0438b0635cdb464 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Sat, 29 Apr 2017 19:29:11 +0000 >Subject: [PATCH] Bug 16545 - Make edit link a styled button in item search > results > >This patch replaces the item search results "edit" link with a dropup >button which offers "Edit item" and "Edit record" links. > >To test, apply the patch and perform an item search. Each results should >have an "Edit" menu. Confirm that the menu links work correctly for >items on more than one page. >--- > .../intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc >index 4085b94..f098b0d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue/itemsearch_item.json.inc >@@ -20,6 +20,6 @@ > "[% item.status |html %]", > "[% (item.issues || 0) |html %]", > "[% FILTER escape_quotes ~%] >- <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]">Edit</a> >+ <div class="btn-group dropup"><button type="button" class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa fa-pencil"></i> Edit <span class="caret"></span> </button> <ul class="dropdown-menu"> <li><a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]">Edit item</a></li> <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% item.biblionumber %]">Edit record</a></li> </ul> </div> > [%~ END %]" > ] >-- >2.1.4
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 16545
:
63147
|
63154
|
65031
|
65032