From 98d313df33c70756d3c0008fe3f8c445258ed202 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 15 Jun 2016 12:21:26 +0000 Subject: [PATCH] [SIGNED-OFF] Bug 16745 - Add edit catalog and edit items links to serials toolbar Content-Type: text/plain; charset="utf-8" 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 --- 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 ) %]
  • [% ELSE %]
  • [% END %] Edit as new (duplicate)
  • + + [% IF CAN_user_editcatalogue_edit_catalogue %] +
  • Edit record
  • + [% END %] + + [% IF serialsadditems && CAN_user_editcatalogue_edit_items %] +
  • Edit items
  • + [% END %] + [% IF ( CAN_user_serials_delete_subscription ) %] [% IF ( cannotedit ) %]
  • [% ELSE %]
  • [% END %] -- 2.1.4