From db52dfed0168a5a120d07e4599af688269162461 Mon Sep 17 00:00:00 2001 From: Kyle M Hall 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 Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- .../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 02348b2868..b36831747c 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.39.5