From c8dfe1c17442b2d9d5f40520a4e633181a1ed9dc Mon Sep 17 00:00:00 2001 From: gRoussac Date: Tue, 12 Nov 2013 19:17:12 +0100 Subject: [PATCH] [-] FO : Wordwrap on prices in history --- themes/default/css/history.css | 30 ++++++------------- .../productcomments/productcomments.tpl | 3 +- themes/default/order-detail.tpl | 8 ++--- 3 files changed, 15 insertions(+), 26 deletions(-) diff --git a/themes/default/css/history.css b/themes/default/css/history.css index 4cf702259..bbf7b8bb1 100644 --- a/themes/default/css/history.css +++ b/themes/default/css/history.css @@ -6,7 +6,7 @@ padding:15px 20px; background:#ccc } -#history #center_column .title_block input { +#history #center_column .title_block input { position: relative; top: -8px; float:right; @@ -21,7 +21,6 @@ top:2px; left:0 } - #order-list { margin-bottom:20px; width:100%; @@ -36,7 +35,7 @@ background:url(../img/bg_table_th.png) repeat-x 0 0 #999 } #order-list tr.alternate_item {background-color: #f3f3f3} -#order-list td { +#order-list td { padding:12px; border-right:1px solid #e9e9e9; border-bottom:1px solid #e9e9e9; @@ -44,12 +43,15 @@ font-size:12px; vertical-align:top } -#order-list td.history_detail {border-right:none;} +#order-list td .price, #order-detail-content tbody .price { + white-space: nowrap; +} +#order-list td.history_detail {border-right:none;} -#order-list .last_item td {border-bottom:1px solid #999} +#order-list .last_item td {border-bottom:1px solid #999} .adresses_bloc {margin-bottom:20px} -.adresses_bloc .item {margin-right:60px} +.adresses_bloc .item {margin-right:60px} .detail_step_by_step {width:100%} .detail_step_by_step tr.last_item td {border-bottom:1px solid #999} @@ -66,18 +68,4 @@ #sendOrderMessage .textarea textarea { width:100%; border:1px solid #999 -} - - - - - - - - - - - - - - +} \ No newline at end of file diff --git a/themes/default/modules/productcomments/productcomments.tpl b/themes/default/modules/productcomments/productcomments.tpl index 493a4317d..1333c967e 100644 --- a/themes/default/modules/productcomments/productcomments.tpl +++ b/themes/default/modules/productcomments/productcomments.tpl @@ -98,6 +98,7 @@ var moderation_active = {$moderation_active};

{l s='Write your review' mod='productcomments'}

+ {if isset($product) && $product}
{$product->name|escape:html:'UTF-8'}
@@ -105,7 +106,7 @@ var moderation_active = {$moderation_active}; {$product->description_short}
- + {/if}

{l s='Write your review' mod='productcomments'}

diff --git a/themes/default/order-detail.tpl b/themes/default/order-detail.tpl index bfc8d7a9f..67c002556 100644 --- a/themes/default/order-detail.tpl +++ b/themes/default/order-detail.tpl @@ -186,7 +186,7 @@ {/if} -