From 81c792d8fa71f1da3f7f827c44b7625753d20c1a 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 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 --- .../en/modules/authorities/searchresultlist.tt | 83 +++++++++++++------- 1 file changed, 53 insertions(+), 30 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 be2e156..3d89bc8 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,21 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Authorities › Authority search results [% INCLUDE 'doc-head-close.inc' %] - [% INCLUDE 'authorities_js.inc' %] @@ -63,40 +76,50 @@ function searchauthority() {

- - - -[% UNLESS ( isEDITORS ) %] - -[% END %] - [% IF ( CAN_user_editauthorities ) %] - - [% END %] - -[% FOREACH resul IN result %] - [% UNLESS ( loop.odd ) %] - - [% ELSE %] - - [% END %] +
SummaryUsed in 
+ + + + [% 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 
[% PROCESS authresult summary=resul.summary %] Details [% resul.used %] records(s) - Edit - | Merge - [% UNLESS ( resul.used ) %] - | Delete - [% END %] - + +
-- 1.7.10.4