From 32e14be1b50adc7780d0a69861da4d1259831f67 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 25 Sep 2012 14:28:42 -0400 Subject: [PATCH] Bug 8820 - Don't show orders table if there are no orders Content-Type: text/plain; charset="utf-8" This page removes the "basket empty" message in favor of hiding the orders table altogether when a basket has no orders. This patch also moves the "Show all details" checkbox under the "Orders" heading to associate it more closely with the area it affects. Other textual changes: - Correcting capitalization according to coding guidelines - Correcting terminology (basket group instead of basketgroup) - Replacing the "Order Details" heading with the more succinct "Orders" --- .../intranet-tmpl/prog/en/modules/acqui/basket.tt | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 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 bd9d145..f271823 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -251,8 +251,8 @@

- [% IF ( basketgroupdeliveryplace ) %]

Basketgroup Delivery place: [% basketgroupdeliveryplace %]

[% END %] - [% IF ( basketgroupbillingplace ) %]

Basketgroup Billing place: [% basketgroupbillingplace %]

[% END %] + [% IF ( basketgroupdeliveryplace ) %]

Basket group delivery place: [% basketgroupdeliveryplace %]

[% END %] + [% IF ( basketgroupbillingplace ) %]

Basket group billing place: [% basketgroupbillingplace %]

[% END %] [% END %] @@ -261,12 +261,12 @@ [% UNLESS ( delete_confirm ) %]
+ [% IF ( books_loop ) %] +

Orders

-

Order Details

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