From 63f5f61d94747691a90002861b0b4c20c44139a2 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 --- .../en/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 53119273c5..c7623e4e7e 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 @@ -38,6 +38,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 ) %] @@ -929,29 +939,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.11.0