From 77c3bee6915a68ab05f7ecdb17657a43b1f4007f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 11 Jun 2012 17:28:13 +0200 Subject: [PATCH 1/1] Bug 8117: Followup Move the "no budget" string outside the table --- .../prog/en/modules/admin/aqbudgetperiods.tt | 140 ++++++++++---------- 1 files changed, 71 insertions(+), 69 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt index e6a9afc..efd3330 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt @@ -366,80 +366,82 @@

Active Budgets

- - - - - - - - - - - - - [% FOREACH period_active IN period_active_loop %] - - - - - - - - - [% END %] - [% UNLESS ( period_active_loop ) %] - - [% END %] - -
Budget nameStart dateEnd dateLockedTotalActions
[% period_active.budget_period_description %][% period_active.budget_period_startdate | $KohaDates %][% period_active.budget_period_enddate | $KohaDates %] - [% IF ( period_active.budget_period_locked ) %] - Locked  - [% END %] - [% period_active.budget_period_total %] - Edit - Delete - Add Fund -
No budget
-
[% active_pagination_bar %]
-
-
-

Inactive Budgets

- - + [% IF ( period_active_loop ) %] +
+ - - - - - - + + + + + + - - - [% FOREACH period_loo IN period_inactive_loop %] - [% IF ( loop.odd ) %] - - [% ELSE %] - - [% END %] - - - - - + + + [% FOREACH period_active IN period_active_loop %] + + + + + + - [% END %] - [% UNLESS ( period_inactive_loop ) %] - - [% END %] - -
Budget nameStart dateEnd dateLockedTotalActionsBudget nameStart dateEnd dateLockedTotalActions
[% period_loo.budget_period_description %][% period_loo.budget_period_startdate | $KohaDates %][% period_loo.budget_period_enddate | $KohaDates %] [% IF ( period_loo.budget_period_locked ) %]Locked [% ELSE %][% END %] [% period_loo.budget_period_total %]
[% period_active.budget_period_description %][% period_active.budget_period_startdate | $KohaDates %][% period_active.budget_period_enddate | $KohaDates %] + [% IF ( period_active.budget_period_locked ) %] + Locked  + [% END %] + [% period_active.budget_period_total %] - Edit - Delete - Add fund + Edit + Delete + Add Fund
No budget
+ [% END %] + + + [% ELSE %] + No active budgets + [% END %] +
[% active_pagination_bar %]
+
+
+

Inactive Budgets

+ [% IF ( period_inactive_loop ) %] + + + + + + + + + + + + + [% FOREACH period_loo IN period_inactive_loop %] + [% IF ( loop.odd ) %] + + [% ELSE %] + + [% END %] + + + + + + + + [% END %] + +
Budget nameStart dateEnd dateLockedTotalActions
[% period_loo.budget_period_description %][% period_loo.budget_period_startdate | $KohaDates %][% period_loo.budget_period_enddate | $KohaDates %] [% IF ( period_loo.budget_period_locked ) %]Locked [% ELSE %][% END %] [% period_loo.budget_period_total %] + Edit + Delete + Add fund +
+ [% ELSE %] + No inactive budgets + [% END %]
[% inactive_pagination_bar %]
-- 1.7.7.3