diff options
Diffstat (limited to 'addons/website/static/src/xml/website.backend.xml')
| -rw-r--r-- | addons/website/static/src/xml/website.backend.xml | 49 |
1 files changed, 2 insertions, 47 deletions
diff --git a/addons/website/static/src/xml/website.backend.xml b/addons/website/static/src/xml/website.backend.xml index e0d467489e6..bc7248bbcf4 100644 --- a/addons/website/static/src/xml/website.backend.xml +++ b/addons/website/static/src/xml/website.backend.xml @@ -15,53 +15,7 @@ </t> <t t-name="website.dashboard_header"> - <div class="row o_dashboard_common"> - <div class="o_box"> - <a href="#" class="o_box_item o_dashboard_action" name="website.action_website" title="Go to Website"> - <div class="o_inner_box o_primary"> - <i class="fa fa-globe fa-3x"></i><br/> - Go to Website - </div> - </a> - <t t-if="widget.groups.system"> - <t t-set="apps" t-value="{ - 'website_crm': {'icon': 'fa-file-text-o', 'help': _('Add a contact form to your Contact Us page.')}, - 'website_sale': {'icon': 'fa-shopping-cart', 'help': _('Sell online to reach new customers.')}, - 'website_blog': {'icon': 'fa-rss-square', 'help': _('Build up a community with an efficient content strategy.')}, - 'website_hr_recruitment': {'icon': 'fa-suitcase', 'help': _('Promote your job announces to attract new talents.')}, - 'website_event': {'icon': 'fa-ticket', 'help': _('Promote your events, manage attendance and sell tickets.')}, - 'im_livechat': {'icon': 'fa-comments-o', 'help': _('Chat with your visitors in real time.')}, - }"/> - </t> - <t t-if="! widget.groups.system"><t t-set="apps" t-value="{}"/></t> - <t t-set="vignette_max" t-value="6"/> - <t t-set="vignette_nbr" t-value="1"/> - <t t-foreach="apps" t-as="app"> - <t t-set="app_data" t-value="widget.dashboards_data.apps_data[app]"/> - <t t-set="app_dashboard" t-value="apps[app]"/> - <t t-if="vignette_nbr < vignette_max && widget.hidden_apps.indexOf(app_data['id']) == -1 && app_data['state'] == 'uninstalled'"> - <t t-set="vignette_nbr" t-value="vignette_nbr + 1"/> - <a href="#" class="o_box_item o_dashboard_action_form" - name="Apps" - data-res_model="ir.module.module" - t-att-data-res_id="app_data['id']" - t-att-title="app_dashboard['help']"> - <div class="o_inner_box o_apps"> - <div class="o_apps_show"> - <i t-attf-class="fa #{app_dashboard['icon']} fa-3x"></i><br/> - <t t-esc="app_data['shortdesc']"/> - </div> - <div class="o_apps_hidden"> - <i class="fa fa-plus-circle fa-3x"></i><br/> - Add this feature - </div> - <i class="o_apps_hidden o_dashboard_hide_panel fa fa-close" t-att-data-module_id="app_data['id']" title="Remove this suggestion from dashboard"/> - </div> - </a> - </t> - </t> - </div> - </div> + <div class="row o_dashboard_common"/> </t> <t t-name="website.dashboard_visits"> @@ -111,4 +65,5 @@ <button class="btn btn-sm btn-default js_date_range" data-date="year">Last Year</button> </div> </t> + </templates> |
