website_partner_templates.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <template id="partner_page" name="Partner Page">
  4. <t t-call="website.layout">
  5. <div id="wrap">
  6. <div class="oe_structure" id="oe_structure_website_partner_partner_1"/>
  7. <div class="container">
  8. <div class="row">
  9. <t t-call="website_partner.partner_detail"></t>
  10. </div>
  11. </div>
  12. <div class="oe_structure" id="oe_structure_website_partner_partner_2"/>
  13. </div>
  14. </t>
  15. </template>
  16. <template id="partner_detail" name="Partner Details">
  17. <h1 class="col-lg-12 text-center" id="partner_name" t-field="partner.display_name"/>
  18. <div class="col-lg-4">
  19. <div t-field="partner.avatar_1920" t-options='{"widget": "image", "preview_image": "avatar_512", "class": "d-block mx-auto mb16"}'/>
  20. <address>
  21. <div t-field="partner.self" t-options='{
  22. "widget": "contact",
  23. "fields": ["address", "website", "phone", "email"]
  24. }'/>
  25. </address>
  26. <t t-out="left_column or ''"/>
  27. </div>
  28. <div class="col-lg-8 mt32">
  29. <t t-if="partner">
  30. <div t-field="partner.website_description"/>
  31. <t groups="website.group_website_restricted_editor">
  32. <h2 class="css_non_editable_mode_hidden o_not_editable">Short Description for List View</h2>
  33. <div class="css_non_editable_mode_hidden" t-field="partner.website_short_description"/>
  34. </t>
  35. </t>
  36. <t t-out="right_column or ''"/>
  37. </div>
  38. </template>
  39. </odoo>