From 64d0eaa872d9198a5a27d527ad20507067f6c292 Mon Sep 17 00:00:00 2001 From: Aleisha Date: Tue, 1 Mar 2016 22:09:59 +0000 Subject: [PATCH] Bug 15932: Moving Authorities actions into a drop-down menu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Edit: Removed datatables stuff and fixed merge conflict Edit: Removed code from Comment 9 (no it wasn't intentional) Edit: Putting line back To test: 1) Go to Authorities and do an authority search (authorities-home.pl) 2) Confirm that the options (Edit, Merge, Delete) are there and behave as expected. EDIT: 3) Click Delete then Cancel, confirm page does not scroll to the top Sponsored-by: Catalyst IT Signed-off-by: Frédéric Demians Signed-off-by: Nicole C Engard --- .../en/modules/authorities/searchresultlist.tt | 55 +++++++++++--------- 1 file changed, 31 insertions(+), 24 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt index e6bd923..0c67edf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt @@ -2,8 +2,9 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Authorities › Authority search results [% INCLUDE 'doc-head-close.inc' %] - [% INCLUDE 'authorities_js.inc' %] @@ -64,35 +65,41 @@ function searchauthority() {
- - -[% UNLESS ( isEDITORS ) %] - -[% END %] - [% IF ( CAN_user_editauthorities ) %] - - [% END %] - -[% FOREACH resul IN result %] + + + [% UNLESS ( isEDITORS ) %] + + [% END %] + [% IF ( CAN_user_editauthorities ) %] + + [% END %] + + [% FOREACH resul IN result %] - [% UNLESS ( resul.isEDITORS ) %] + [% UNLESS ( resul.isEDITORS ) %] - [% END %] - [% IF ( CAN_user_editauthorities ) %] - - [% END %] + [% END %] + [% IF ( CAN_user_editauthorities ) %] + + [% END %] -[% END %] + [% END %]
SummaryUsed in 
SummaryUsed in 
[% PROCESS authresult summary=resul.summary %] Details [% resul.used %] records(s) - Edit - | Merge - [% UNLESS ( resul.used ) %] - | Delete - [% END %] - + +
-- 1.7.10.4