From d9d99277d340909219d777bbfe62266425e1a517 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 17 May 2012 15:09:42 -0400 Subject: [PATCH] Bug 7889 [Acquisitions] Use standard style for errors and messages Content-Type: text/plain; charset="utf-8" Correcting style of the warning on the Acquisitions home page which appears if no budgets have been defined. Also correcting the logic by which the warning appears, as a change to the script inadvertently prevented it. --- .../prog/en/modules/acqui/acqui-home.tt | 21 ++++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt index f0e2942..7a44420 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tt @@ -41,27 +41,22 @@ $(document).ready(function() {
-
- Manage orders - [% IF ( nobudget ) %] + + [% UNLESS ( loop_budget ) %] [% IF ( CAN_user_parameters ) %] - You must define a budget in Administration +
You must define a budget in Administration
[% ELSE %] - Your administrator must define a budget in Administration +
Your administrator must define a budget in Administration
[% END %] -
-

- -

-
- [% ELSE %] + [% END %] + +
+ Manage orders

- - [% END %]
-- 1.7.9.5