flectra/addons/website_partner/views/website_partner_templates.xml

41 lines
1.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<flectra>
<template id="partner_page" name="Partner Page">
<t t-call="website.layout">
<div id="wrap">
<div class="oe_structure"/>
<div class="container">
<div class="row">
<t t-call="website_partner.partner_detail"></t>
</div>
</div>
<div class="oe_structure"/>
</div>
</t>
</template>
<template id="partner_detail" name="Partner Details">
<h1 class="col-md-12 text-center" id="partner_name" t-field="partner.display_name"/>
<div class="col-md-4">
<div t-field="partner.image" t-options='{"widget": "image", "class": "center-block mb16"}'/>
<address class="well">
<div t-field="partner.self" t-options='{
"widget": "contact",
"fields": ["address", "website", "phone", "email"]
}'/>
</address>
<t t-raw="left_column or ''"/>
</div>
<div class="col-md-8 mt32">
<t t-if="partner">
<div t-field="partner.website_description"/>
<t groups="website.group_website_publisher">
<h2 class="css_non_editable_mode_hidden o_not_editable">Short Description for List View</h2>
<div class="css_non_editable_mode_hidden" t-field="partner.website_short_description"/>
</t>
</t>
<t t-raw="right_column or ''"/>
</div>
</template>
2018-01-16 11:34:37 +01:00
</flectra>