From 18897b8861431fad35e2a885d494dd943c90350c 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 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. Sponsored-by: Catalyst IT Signed-off-by: Frédéric Demians --- .../en/modules/authorities/searchresultlist.tt | 61 ++++++++++++-------- 1 file changed, 36 insertions(+), 25 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..5fae9aa 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,45 @@ 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 ( loop.odd ) %] + + [% ELSE %] + + [% END %] - [% 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