From e863f6645e9cfef851066e3bd96145969202ab8d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 28 Dec 2015 10:26:10 +0000 Subject: [PATCH] Bug 15049: Simplify code in aqplan.tt There was no need to duplicate this code in the template. The only change with before this patch is that the "Currency = CUR" and "Each cell contain both actual and estimated values." are now displayed on 2 lines instead of 1. Signed-off-by: Jonathan Druart Signed-off-by: Brendan A Gallagher --- .../prog/en/modules/admin/aqplan.tt | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt index 86a196251b..988f88a47b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt @@ -85,21 +85,13 @@ [% IF ( budget_lines ) %] - [% IF ( currency ) %]

Currency = [% currency %]. + [% INCLUDE 'budgets-active-currency.inc' %] [% IF ( show_actual ) %] - Each cell contain both actual and estimated values. +

Each cell contain both actual and estimated values.

[% ELSE %] - Cells contain estimated values only. +

Cells contain estimated values only.

[% END %] -

- [% ELSE %] - [% INCLUDE 'budgets-active-currency.inc' hide = 'yes' %] -[% IF ( show_actual ) %] -

Each cell contain both actual and estimated values.

- [% ELSE %] -

Cells contain estimated values only.

- [% END %] - [% END %] +

Show/hide columns: [% FOREACH authvals_ro IN authvals_row %] -- 2.39.5