From 49fdfa65248fcf11fdb4814608dd18d174a67c85 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 21 Nov 2012 14:38:12 -0500 Subject: [PATCH] [SIGNED-OFF] Bug 8820 [3.8.x] Don't show orders table if there are no orders Reworkd for 3.8.x: Patch removes the "basket empty" message in favor of hiding the orders table altogether when a basket has no orders. Other textual changes: - Correcting capitalization according to coding guidelines - Replacing the "Order Details" heading with the more succinct "Orders" Signed-off-by: Melia Meggs Signed-off-by: Katrin Fischer All tests pass, template change only. To test: 1) Create a new basket - verify 'basket empty' shows up 2) Create order line - verfiy table heading is 'Order Details' 3) Close basket, check capitalization on basket group dialog Repeat with patch applied. - 'basket empty' is gone - Heading is now 'Orders' - Capitalization on basket group dialog is correct --- .../intranet-tmpl/prog/en/modules/acqui/basket.tt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index f6bdcf2..94b0bad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -215,8 +215,8 @@ [% UNLESS ( delete_confirm ) %]
-

Order Details

[% IF ( books_loop ) %] +

Orders

@@ -339,10 +339,6 @@ [% END %]
- [% ELSE %] - - -
Basket empty
[% END %] [% IF ( listincgst ) %]** Vendor's listings already include tax. [% END %] @@ -413,8 +409,8 @@ - - + +
[% END %] -- 1.7.9.5