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. Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
f87435c933
commit
91e02ffdb3
1 changed files with 1 additions and 1 deletions
|
@ -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 %]"
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue