From b4a16628893eaa5813d1dae44b83035788aeb421 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 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. Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain --- .../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 f0e2942788..7a4442049a 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 %]
-- 2.39.5