From 838e2880f674e9c275b335d6a137ab4b47bcfe48 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 21 Nov 2012 14:38:12 -0500 Subject: [PATCH] Bug 8820 [3.8.x] Don't show orders table if there are no orders Content-Type: text/plain; charset="utf-8" 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" --- .../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