[FIX] website: snippet cut the defaulut text

bzr revid: chm@openerp.com-20131127144252-moppy3j5um58e935
This commit is contained in:
Christophe Matthieu 2013-11-27 15:42:52 +01:00
parent 5304a26eb0
commit ec17291b19
3 changed files with 6 additions and 3 deletions

View File

@ -325,7 +325,7 @@
},
out: function(){
var prev = $toInsert.prev();
if( action === 'insert' && prev && this != prev[0]){
if( action === 'insert' && this === prev[0]){
dropped = false;
$toInsert.detach();
}

View File

@ -804,6 +804,7 @@
<li data-class="oe_img_bg" data-src="/website/static/src/img/banner/yellow_green.jpg"><a>Yellow Green</a></li>
</ul>
</li>
<li class="oe_snippet_options divider"></li>
<li class="oe_custom_bg" data-class="oe_img_bg"><a><b>Choose a photo...</b></a></li>
</ul>
</li>

View File

@ -545,8 +545,10 @@ Sitemap: <t t-esc="url_root"/>sitemap.xml
<div class="row">
<div class="col-md-8">
<div class="oe_structure">
<p>Contact us about anything related to our company or services.</p>
<p>We'll do our best to get back to you as soon as possible.</p>
<div>
<p>Contact us about anything related to our company or services.</p>
<p>We'll do our best to get back to you as soon as possible.</p>
</div>
</div>
<div class="text-center mt64" name="mail_button">
<a t-attf-href="mailto:{{ res_company.email }}" class="btn btn-primary">Send us an email</a>