From bf78a0a677376943b80ea64d3bbb0f463ef4df50 Mon Sep 17 00:00:00 2001 From: vKham Date: Wed, 1 Feb 2012 15:50:40 +0000 Subject: [PATCH] // change layout carts_rules and uniform stylesheet description --- .../controllers/cart_rules/conditions.tpl | 10 +++---- .../controllers/cart_rules/informations.tpl | 26 +++++++++---------- css/admin.css | 3 ++- 3 files changed, 19 insertions(+), 20 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/cart_rules/conditions.tpl b/admin-dev/themes/default/template/controllers/cart_rules/conditions.tpl index cfa3cbec2..0254426ee 100644 --- a/admin-dev/themes/default/template/controllers/cart_rules/conditions.tpl +++ b/admin-dev/themes/default/template/controllers/cart_rules/conditions.tpl @@ -2,7 +2,7 @@
-

{l s='Optional, the cart rule will be available for everyone if you leave this field blank.'}

+

{l s='Optional, the cart rule will be available for everyone if you leave this field blank.'}

@@ -10,7 +10,7 @@ {l s='to'} -

{l s='Default period is one year.'}

+

{l s='Default period is one year.'}

@@ -28,17 +28,17 @@ -

{l s='You can choose a minimum amount for the cart either with or without the taxes, with or without shipping.'}

+

{l s='You can choose a minimum amount for the cart either with or without the taxes, with or without shipping.'}

-

{l s='The cart rule will be applied to the X first customers only.'}

+

{l s='The cart rule will be applied to the X first customers only.'}

-

{l s='A customer will only be able to use the cart rule X time(s).'}

+

{l s='A customer will only be able to use the cart rule X time(s).'}

{if $countries.unselected|@count + $countries.selected|@count > 1}
diff --git a/admin-dev/themes/default/template/controllers/cart_rules/informations.tpl b/admin-dev/themes/default/template/controllers/cart_rules/informations.tpl index 43e47d90e..9a84ccb8b 100644 --- a/admin-dev/themes/default/template/controllers/cart_rules/informations.tpl +++ b/admin-dev/themes/default/template/controllers/cart_rules/informations.tpl @@ -1,22 +1,27 @@ - -
+
{foreach from=$languages item=language}
- +
{/foreach}
-

{l s='Will be displayed in the cart summary as well as on the invoice.'}

+

{l s='Will be displayed in the cart summary as well as on the invoice.'}

+
+ +
+ +

{l s='For you only, never displayed to the customer.'}

- {l s='(Click to generate random code)'} -

{l s='Caution! The rule will automatically be applied if you leave this field blank.'}

+ {l s='(Click to generate random code)'} +

{l s='Caution! The rule will automatically be applied if you leave this field blank.'}

@@ -26,7 +31,7 @@    getFieldValue($currentObject, 'partial_use')|intval}checked="checked"{/if} /> -

+

{l s='Only applicable if the voucher value is greater than the cart total.'}
{l s='If you do not allow partial use, the voucher value will be lowered to the total order amount, but if you do, a new voucher will be created with the remainder.'}

@@ -34,7 +39,7 @@
-

{l s='Cart rules are applied to the cart by priority. A cart rule with priority of "1" will be processed before a cart rule with a priority of "2".'}

+

{l s='Cart rules are applied to the cart by priority. A cart rule with priority of "1" will be processed before a cart rule with a priority of "2".'}

@@ -46,12 +51,5 @@
- -
- -

{l s='For you only, never displayed to the customer.'}

-
-
\ No newline at end of file diff --git a/css/admin.css b/css/admin.css index 0b77eeec7..abfd84ea7 100644 --- a/css/admin.css +++ b/css/admin.css @@ -1798,6 +1798,7 @@ p.preference_description{ text-align: left; width: 500px; color:#7F7F7F; + font-size:11px; } .preference_default_multishop{ @@ -2249,7 +2250,7 @@ margin-bottom:7px; /*cart_rule_form*/ #cart_rule_form {} -#cart_rule_form h4 { margin-top:0;} +#cart_rule_form h4 { font-size:18px; font-weight:normal; margin-top:0;} #ajax_running { display: none;