summaryrefslogtreecommitdiff
path: root/addons/website_crm/static/src/xml/website_crm_dashboard.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/website_crm/static/src/xml/website_crm_dashboard.xml')
-rw-r--r--addons/website_crm/static/src/xml/website_crm_dashboard.xml29
1 files changed, 13 insertions, 16 deletions
diff --git a/addons/website_crm/static/src/xml/website_crm_dashboard.xml b/addons/website_crm/static/src/xml/website_crm_dashboard.xml
index a47c74172e0..ff3814affd6 100644
--- a/addons/website_crm/static/src/xml/website_crm_dashboard.xml
+++ b/addons/website_crm/static/src/xml/website_crm_dashboard.xml
@@ -4,26 +4,23 @@
<t t-name="website_crm.dashboard_leads">
<div class="row o_dashboard_leads">
<div class="col-xs-12 o_box">
- <h2>Lead Acquisition</h2>
+ <div class="col-md-6 col-xs-12">
+ <h2>Leads Acquisition / <t t-esc="widget.date_range"></t></h2>
+ <div id="o_graph_leads" class="o_graph" data-type="leads"/>
+ </div>
- <div class="row">
- <div class="col-md-6">
- <div id="o_graph_leads" class="o_graph" data-type="leads"/>
+ <div class="col-md-6 col-xs-12">
+ <h4>Leads Analysis</h4>
+ <div t-if="!widget.leads_table || !widget.leads_table.length">
+ <i>There is no recent lead.</i>
</div>
- <div class="col-md-6">
- <h4>Leads Analysis</h4>
- <div t-if="!widget.leads_table || !widget.leads_table.length">
- <i>There is no recent lead.</i>
- </div>
-
- <div t-if="widget.leads_table &amp;&amp; widget.leads_table.length" class="table-responsive">
- <select class="js_field_selection">
- <option t-foreach="widget.lead_fields" t-as="field" t-att-value="field"><t t-esc="field.split('_id')[0]"/></option>
- </select>
+ <div t-if="widget.leads_table &amp;&amp; widget.leads_table.length" class="table-responsive">
+ <select class="js_field_selection">
+ <option t-foreach="widget.lead_fields" t-as="field" t-att-value="field"><t t-esc="widget.lead_fields[field]"/></option>
+ </select>
- <t t-call="website_crm.LeadsTable"/>
- </div>
+ <t t-call="website_crm.LeadsTable"/>
</div>
</div>
</div>