// Block contact: after a fresh install, phone number have a line break

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16280 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-07-09 12:28:32 +00:00
parent e802d2669a
commit e7f6e0f2b9
2 changed files with 20 additions and 18 deletions
+3 -1
View File
@@ -12,7 +12,7 @@
#contact_block p.tel { #contact_block p.tel {
margin:0 0 0 60px; margin:0 0 0 60px;
padding-left: 26px; padding-left: 26px;
font: bold 12px/20px Arial,Verdana,sans-serif; font: bold 11px/20px Arial, Verdana, sans-serif;
background: url(images/block_contact_pict_tel.png) no-repeat 0 0 transparent background: url(images/block_contact_pict_tel.png) no-repeat 0 0 transparent
} }
#contact_block a { #contact_block a {
@@ -29,3 +29,5 @@
background:url(images/bloc_contact_a_bg.png) repeat-x 0 0 #000 background:url(images/bloc_contact_a_bg.png) repeat-x 0 0 #000
} }
#contact_block a:hover {text-decoration:none} #contact_block a:hover {text-decoration:none}
#contact_block .label {display: none}
+1 -1
View File
@@ -28,7 +28,7 @@
<h4>{l s='Contact us' mod='blockcontact'}</h4> <h4>{l s='Contact us' mod='blockcontact'}</h4>
<div class="block_content clearfix"> <div class="block_content clearfix">
<p>{l s='Our hotline is available 24/7' mod='blockcontact'}</p> <p>{l s='Our hotline is available 24/7' mod='blockcontact'}</p>
{if $telnumber != ''}<p class="tel">{l s='Phone:' mod='blockcontact'}{$telnumber}</p>{/if} {if $telnumber != ''}<p class="tel"><span class="label">{l s='Phone:' mod='blockcontact'}</span>{$telnumber}</p>{/if}
{if $email != ''}<a href="mailto:{$email}">{l s='Contact our hotline' mod='blockcontact'}</a>{/if} {if $email != ''}<a href="mailto:{$email}">{l s='Contact our hotline' mod='blockcontact'}</a>{/if}
</div> </div>
</div> </div>