From 8470d0ea7ca903dfce96a69252fd6949ffdb4877 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 26 Mar 2020 12:48:02 +0000 Subject: [PATCH] Bug 24982: (follow-up) Give checkboxes more structured layout This patch makes minor markup changes and adds some CSS so that the module and actions checkboxes are laid out a little more clearly. The patch includes some whitespace changes, so diff accordingly. Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize --- .../prog/en/modules/tools/viewlog.tt | 57 ++++++++++++------- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt index e496ff7724..f167cfc4b4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt @@ -18,8 +18,17 @@ @@ -108,37 +117,41 @@ fieldset.rows label.viewlog { [% UNLESS src == "circ" %]
  • - [% UNLESS modules %] - - [% ELSE %] - - [% END %] - [% FOREACH modx IN [ 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'ILL' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %] - [% IF modules.grep(modx).size %] - +
    + [% UNLESS modules %] + [% ELSE %] - + [% END %] - [% END %] + [% FOREACH modx IN [ 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'ILL' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %] + [% IF modules.grep(modx).size %] + + [% ELSE %] + + [% END %] + [% END %] +
  • [% ELSE %] [% END %]
  • - [% UNLESS actions %] - - [% ELSE %] - - [% END %] - - [% FOREACH actx IN [ 'ADD' 'DELETE' 'MODIFY' 'ISSUE' 'RETURN' 'RENEW' 'CREATE' 'CANCEL' 'SUSPEND' 'RESUME' 'ADDCIRCMESSAGE' 'DELCIRCMESSAGE' 'STATUS_CHANGE' 'CHANGE PASS' 'Run' ] %] - [% IF actions.grep(actx).size %] - +
    + [% UNLESS actions %] + [% ELSE %] - + [% END %] - [% END %] + + [% FOREACH actx IN [ 'ADD' 'DELETE' 'MODIFY' 'ISSUE' 'RETURN' 'RENEW' 'CREATE' 'CANCEL' 'SUSPEND' 'RESUME' 'ADDCIRCMESSAGE' 'DELCIRCMESSAGE' 'STATUS_CHANGE' 'CHANGE PASS' 'Run' ] %] + [% IF actions.grep(actx).size %] + + [% ELSE %] + + [% END %] + [% END %] +
  • [% IF src == 'circ' %] -- 2.39.5