From fc2d737961f2f70b7ea080c8d0d02117c40d9a83 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Tue, 1 Mar 2016 23:09:39 +0000 Subject: [PATCH] Bug 15952: Moving cataloging search actions into a drop-down menu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Edit: Have removed the datatables stuff - wasn't necessary. Also fixed a merge conflict Edit: Comment 7 To test: 1) Go to Cataloging and do a search in the catalog and reservoir (cataloguing/addbooks.pl) 2) Confirm that for the results found in catalog, the options (MARC and Card preview, Edit biblio, Add/edit items) are there and behave as expected. 3) Confirm that for the results found in reservoir, the options (MARC and Card preview, Add biblio) are there and behave as expected. 4) Set user permissions so that the user cannot edit the catalog or items. (editcatalogue -> edit_catalogue and edit_items) 5) Confirm that you no longer see the options to edit or add items/biblio in either table. Sponsored-by: Catalyst IT Signed-off-by: Frédéric Demians Expected result following the test plan. Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart --- .../prog/en/modules/cataloguing/addbooks.tt | 46 ++++++++++++++-------- 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt index 88d58ee..04e76da 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt @@ -137,12 +137,9 @@   Title Location - Preview - [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] [% ELSE %][% END %] - [% IF ( CAN_user_editcatalogue_edit_items ) %] [% END %] +   - [% FOREACH resultsloo IN resultsloop %] - + [% FOREACH resultsloo IN resultsloop %]

@@ -195,10 +192,19 @@ [% IF ( resultsloo.notforloancount ) %] Not for loan ([% resultsloo.notforloancount %])[% END %] - MARC | Card + +

- [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]Edit biblio[% END %] - [% IF ( CAN_user_editcatalogue_edit_items ) %]Add/Edit items[% END %] [% END %] @@ -223,8 +229,7 @@ Date Edition Coming from - Preview - [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] [% END %] +   [% FOREACH breeding_loo IN breeding_loop %] @@ -234,12 +239,21 @@ [% breeding_loo.copyrightdate %] [% breeding_loo.edition %] [% breeding_loo.file %] - MARC | Card - - [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] - Add biblio - [% END %] - + + + + [% END %] [% ELSE %] -- 2.7.0