[IMP] Custom Footer

bzr revid: fp@openerp.com-20130917205034-1u7biygxj9uj8dgx
This commit is contained in:
Fabien Pinckaers 2013-09-17 22:50:34 +02:00
parent 73a1c787a2
commit c96d19b430
2 changed files with 26 additions and 1 deletions

View File

@ -340,7 +340,6 @@
</section>
</div>
<div t-name="website.snippets.three-columns" data-snippet-id='three-columns' data-category='structure' data-selector-children='.oe_structure, [data-oe-type=html]'>
<div class='oe_snippet_label'>Three Columns</div>
<div class="oe_snippet_thumbnail">

View File

@ -154,6 +154,32 @@
</template>
<template id="footer_custom" inherit_option_id="website.layout" name="Custom Footer">
<xpath expr="//div[@id='footer_container']" position="before">
<section data-snippet-id='three-columns' class="mt16 mb16">
<div class="container">
<div class="row">
<div class="col-md-4">
<h4 class="mt16">Subtitle</h4>
<p>
<a href="/">Homepage</a>
</p>
</div>
<div class="col-md-4">
<h4 class="mt16">Subtitle 2</h4>
<p>
...
</p>
</div>
<div class="col-md-4">
<h4 class="mt16">Subtitle 3</h4>
<p>
...
</p>
</div>
</div>
</div>
</section>
</xpath>
<xpath expr="//div[@id='footer_container']" position="attributes">
<attribute name="style">display: none</attribute>
</xpath>