From d223470d2f6b972c62faa2d016a177c701a75186 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 --- koha-tmpl/intranet-tmpl/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 86a1962..988f88a 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.1.0