[-] FO : Wordwrap on prices in history

This commit is contained in:
gRoussac
2013-11-12 19:17:12 +01:00
parent 75df12dd94
commit c8dfe1c174
3 changed files with 15 additions and 26 deletions
+3 -15
View File
@@ -21,7 +21,6 @@
top:2px; top:2px;
left:0 left:0
} }
#order-list { #order-list {
margin-bottom:20px; margin-bottom:20px;
width:100%; width:100%;
@@ -44,6 +43,9 @@
font-size:12px; font-size:12px;
vertical-align:top vertical-align:top
} }
#order-list td .price, #order-detail-content tbody .price {
white-space: nowrap;
}
#order-list td.history_detail {border-right:none;} #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}
@@ -67,17 +69,3 @@
width:100%; width:100%;
border:1px solid #999 border:1px solid #999
} }
@@ -98,6 +98,7 @@ var moderation_active = {$moderation_active};
<div id="new_comment_form"> <div id="new_comment_form">
<form id="id_new_comment_form" action="#"> <form id="id_new_comment_form" action="#">
<h2 class="title">{l s='Write your review' mod='productcomments'}</h2> <h2 class="title">{l s='Write your review' mod='productcomments'}</h2>
{if isset($product) && $product}
<div class="product clearfix"> <div class="product clearfix">
<img src="{$link->getImageLink($product->link_rewrite, $productcomment_cover, 'home_default')|escape:'html'}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product->name|escape:html:'UTF-8'}" /> <img src="{$link->getImageLink($product->link_rewrite, $productcomment_cover, 'home_default')|escape:'html'}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product->name|escape:html:'UTF-8'}" />
<div class="product_desc"> <div class="product_desc">
@@ -105,7 +106,7 @@ var moderation_active = {$moderation_active};
{$product->description_short} {$product->description_short}
</div> </div>
</div> </div>
{/if}
<div class="new_comment_form_content"> <div class="new_comment_form_content">
<h2>{l s='Write your review' mod='productcomments'}</h2> <h2>{l s='Write your review' mod='productcomments'}</h2>
+4 -4
View File
@@ -186,7 +186,7 @@
</td> </td>
{/if} {/if}
<td> <td>
<label for="cb_{$product.id_order_detail|intval}"> <label class="price" for="cb_{$product.id_order_detail|intval}">
{if $group_use_tax} {if $group_use_tax}
{convertPriceWithCurrency price=$product.unit_price_tax_incl currency=$currency} {convertPriceWithCurrency price=$product.unit_price_tax_incl currency=$currency}
{else} {else}
@@ -195,7 +195,7 @@
</label> </label>
</td> </td>
<td> <td>
<label for="cb_{$product.id_order_detail|intval}"> <label class="price" for="cb_{$product.id_order_detail|intval}">
{if isset($customizedDatas.$productId.$productAttributeId)} {if isset($customizedDatas.$productId.$productAttributeId)}
{if $group_use_tax} {if $group_use_tax}
{convertPriceWithCurrency price=$product.total_customization_wt currency=$currency} {convertPriceWithCurrency price=$product.total_customization_wt currency=$currency}
@@ -274,7 +274,7 @@
</td> </td>
{/if} {/if}
<td> <td>
<label for="cb_{$product.id_order_detail|intval}"> <label class="price" for="cb_{$product.id_order_detail|intval}">
{if $group_use_tax} {if $group_use_tax}
{convertPriceWithCurrency price=$product.unit_price_tax_incl currency=$currency} {convertPriceWithCurrency price=$product.unit_price_tax_incl currency=$currency}
{else} {else}
@@ -283,7 +283,7 @@
</label> </label>
</td> </td>
<td> <td>
<label for="cb_{$product.id_order_detail|intval}"> <label class="price" for="cb_{$product.id_order_detail|intval}">
{if $group_use_tax} {if $group_use_tax}
{convertPriceWithCurrency price=$product.total_price_tax_incl currency=$currency} {convertPriceWithCurrency price=$product.total_price_tax_incl currency=$currency}
{else} {else}