Bugzilla – Attachment 52535 Details for
Bug 16745
Add edit catalog and edit items links to serials toolbar
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16745 - Add edit catalog and edit items links to serials toolbar
Bug-16745---Add-edit-catalog-and-edit-items-links-.patch (text/plain), 2.54 KB, created by
Jonathan Druart
on 2016-06-19 11:32:28 UTC
(
hide
)
Description:
Bug 16745 - Add edit catalog and edit items links to serials toolbar
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-06-19 11:32:28 UTC
Size:
2.54 KB
patch
obsolete
>From 3ae2e78e635646b89e2f5276f42ac5a0efaedaac Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 15 Jun 2016 12:21:26 +0000 >Subject: [PATCH] Bug 16745 - Add edit catalog and edit items links to serials > toolbar > >It would be very helpful for librarians to have links directly to the >record and items editor from a serial. Right now moving from the serial >to those editors requires jumping through a number of pages. > >Test Plan: >1) Apply this patch >2) Browse subscription-detail.pl for a given serial >3) Under the Edit button, note the "Edit record" link >4) Verify the link takes you to the marc editor for that record >5) Create or find a serial that is set to create items on receiving >6) Under the Edit button, note the new "Edit items" link >7) Verify the link takes you to the items editor for that record >8) Create of find a serial that is *not* set to create items on receiving >9) Verify the "Edit items" link does not exists for that serial > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc >index 729d2ee..7c89443 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc >@@ -56,6 +56,15 @@ > [% IF ( cannotedit ) %] <li class="disabled"> [% ELSE %] > <li> [% END %] > <a href="/cgi-bin/koha/serials/subscription-add.pl?op=dup&subscriptionid=[% subscriptionid %]">Edit as new (duplicate)</a></li> >+ >+ [% IF CAN_user_editcatalogue_edit_catalogue %] >+ <li><a id="editbiblio" href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]">Edit record</a></li> >+ [% END %] >+ >+ [% IF serialsadditems && CAN_user_editcatalogue_edit_items %] >+ <li><a id="edititems" href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]">Edit items</a></li> >+ [% END %] >+ > [% IF ( CAN_user_serials_delete_subscription ) %] > [% IF ( cannotedit ) %] <li class="disabled"> [% ELSE %] > <li> [% END %] >-- >2.8.1
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 16745
:
52432
|
52433
| 52535