The structure of this module was adapted as it was broken and not appealing: - Text alignments and font sizes were improved - Card structure instead of a list - Filters and search are now grouped on top and take less space in the page A specific mobile view for the filters was implemented off canvas as the current one was not optimized. All these changes were made to make this module more consistent with the rest of the front-end modules. The option to show the map is now visible/not visible depending on if the database contains a google maps API task-3083706 Part-of: odoo/odoo#109752
30 lines
1.3 KiB
XML
30 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<template id="snippet_options" inherit_id="website.snippet_options" name="Customer Snippet Options">
|
|
<xpath expr="." position="inside">
|
|
<div data-selector=".o_wcrm_filters_top" data-page-options="true" groups="website.group_website_designer" data-no-check="true" string="References Page">
|
|
<we-checkbox string="Countries Filter"
|
|
data-customize-website-views="website_customer.opt_country_list"
|
|
data-no-preview="true"
|
|
data-reload="/"/>
|
|
<we-checkbox string="Industry Filter"
|
|
data-customize-website-views="website_customer.opt_industry_list"
|
|
data-no-preview="true"
|
|
data-reload="/"/>
|
|
<we-checkbox string="Tags Filter"
|
|
data-customize-website-views="website_customer.opt_tag_list"
|
|
data-no-preview="true"
|
|
data-reload="/"/>
|
|
<t t-if="google_maps_api_key">
|
|
<we-checkbox string="Show Map"
|
|
data-customize-website-views="website_customer.opt_country"
|
|
data-no-preview="true"
|
|
data-reload="/"/>
|
|
</t>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|