From 73a0696debfef977edc7711c361b6397fe74b222 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 2e5fb62..b3897a7 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 ) %] @@ -695,29 +705,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.1.4