From 7b70f369d58c380b8c3fb8a5b13981776a0945f1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 18 Sep 2017 15:23:38 +0000 Subject: [PATCH] Bug 19233: (follow-up) Send itemnumbers in report results to batch modification This patch changes the obscure "^" symbol to a styled link with the text "Batch modify." I think the only disadvantage of this is that it takes up more space, but it is outweighed by the improved clarity. This patch also makes minor indentation corrections to new lines of HTML. Signed-off-by: Katrin Fischer Signed-off-by: Julian Maurice Signed-off-by: Jonathan Druart --- .../modules/reports/guided_reports_start.tt | 60 ++++++++++++------- 1 file changed, 37 insertions(+), 23 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 67e8891129..b6fdb0fed8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -37,6 +37,16 @@ #col1, #col2 { width:45%; float:left; } #col1 ins, #col2 del { display: none; } .show_sql { font-family: monospace; } + .send_to_item_mod { + background-color: #EBF3FF; + border: 1px solid #88b0e8; + border-radius: 5px; + display: inline-block; + font-size: 75%; + margin: 3px 5px; + padding: 3px 5px; + white-space: nowrap; + } [% IF ( saved1 ) %] @@ -705,29 +715,33 @@ canned reports and writing custom SQL reports.

[% pagination_bar %]
[% UNLESS ( errors ) %] -
- - -[% FOREACH header_ro IN header_row %] - [% IF header_ro.cell == 'itemnumber' %] - - [% ELSE %] - - [% END %] - [% END %] -[% FOREACH result IN results %] - - [% FOREACH cells IN result.cells %] - [% place = loop.index %] - [% IF header_row.$place.cell == 'itemnumber' %] - - [% END %] - - [% END %] - -[% END %] -
[% header_ro.cell %] ^[% header_ro.cell %]
[% cells.cell %]
-
+
+ + + + [% FOREACH header_ro IN header_row %] + [% IF header_ro.cell == 'itemnumber' %] + + [% ELSE %] + + [% END %] + [% END %] + + [% FOREACH result IN results %] + + [% FOREACH cells IN result.cells %] + [% place = loop.index %] + [% IF header_row.$place.cell == 'itemnumber' %] + + [% END %] + + [% END %] + + [% END %] +
+ [% header_ro.cell %] Batch modify + [% header_ro.cell %]
[% cells.cell %]
+
[% END %] [% END %] -- 2.39.2