From 69be323ba7dfa718935f343f9660ea46e685c374 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 --- .../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.10