summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml
diff options
context:
space:
mode:
authorsed-odoo <sed@odoo.com>2018-08-08 16:24:17 +0200
committerYannick Tivisse <yti@odoo.com>2018-08-09 11:58:35 +0200
commitd81e1b7341a515a9deceb5b20c350d5ecd5c3762 (patch)
treee278e61ef3e76c20f334ae25ee51c1e7dac669c0 /addons/website/static/src/xml
parentde7277c6a91ace502ac04e4be34219eee35b9048 (diff)
[IMP] website_*: Improve menus and configuration
Purpose ======= Clean menus structure in website frontend and backend, for an easier navigation. Specification ============= Website ------- - Restructure menu - Enterprise: Keep google analytics view in a dedicated menu item when ecommerce is installed: - Sales Dashboard(ecommerce dashboard) - Analytics (google analytics) - Community: Keep both sales orders and google analytic dashboard on the same dashboard view - Restore google analytics api option in website settings when ecommerce is installed E-Commerce ---------- - Website > orders > orders: add default filter "from website" and remove it in the action. That way if you create an order manually there is still a way to find it from the menu (the salesteam is different) - Default filter for abandoned cart menu - Improve setting text and tooltip. It's not obvious that recovery emails must be sent manually. Replace with: - Title: Abandoned Carts - Subtitle: Send a recovery email when a cart is abandoned - Tooltip: Abandoned carts are all carts for which no transaction has been confirmed while the customer has filled in their address. You can find them in *Website > Orders > Abandoned Carts*. From there you can send a recovery email to stimulate the customers to resume their order. - Tooltip email template: This email template is suggested by default when you send a recovery email. - Tooltip hours: Carts are flagged as abandoned after this delay. - Hour label: Cart is abandoned after .... hour(s). Task ID: 1859170
Diffstat (limited to 'addons/website/static/src/xml')
-rw-r--r--addons/website/static/src/xml/website.backend.xml33
1 files changed, 18 insertions, 15 deletions
diff --git a/addons/website/static/src/xml/website.backend.xml b/addons/website/static/src/xml/website.backend.xml
index b61d4503e95..a1a0d24edb1 100644
--- a/addons/website/static/src/xml/website.backend.xml
+++ b/addons/website/static/src/xml/website.backend.xml
@@ -20,21 +20,24 @@
<t t-name="website.dashboard_content">
<div class="o_website_dashboard_content">
- <div class="row o_dashboard_visits" t-if="widget.groups.website_designer">
- <div class="col-12 o_box">
- <h2>Visits</h2>
- <div t-if="widget.dashboards_data.visits &amp;&amp; widget.dashboards_data.visits.ga_client_id">
- <div class="row js_analytics_components"/>
- <a href="#" class="js_link_analytics_settings">Edit my Analytics Client ID</a>
- </div>
- <div t-if="!(widget.dashboards_data.visits &amp;&amp; widget.dashboards_data.visits.ga_client_id)" class="col-lg-12">
- <div class="o_demo_background">
- <div class="o_layer">
- </div>
- <div class="o_buttons text-center">
- <h3>There is no data currently available.</h3>
- <button class="btn btn-primary js_link_analytics_settings d-block mx-auto mb8">Link my Analytics Account</button>
- </div>
+ <t t-call="website.google_analytics_content"/>
+ </div>
+ </t>
+ <t t-name="website.google_analytics_content">
+ <div class="row o_dashboard_visits" t-if="widget.groups.website_designer">
+ <div class="col-12 o_box">
+ <h2>Visits</h2>
+ <div t-if="widget.dashboards_data.visits &amp;&amp; widget.dashboards_data.visits.ga_client_id">
+ <div class="row js_analytics_components"/>
+ <a href="#" class="js_link_analytics_settings">Edit my Analytics Client ID</a>
+ </div>
+ <div t-if="!(widget.dashboards_data.visits &amp;&amp; widget.dashboards_data.visits.ga_client_id)" class="col-lg-12">
+ <div class="o_demo_background">
+ <div class="o_layer">
+ </div>
+ <div class="o_buttons text-center">
+ <h3>There is no data currently available.</h3>
+ <button class="btn btn-primary js_link_analytics_settings d-block mx-auto mb8">Link my Analytics Account</button>
</div>
</div>
</div>