summaryrefslogtreecommitdiff
path: root/addons/web_settings_dashboard/static/src/xml/dashboard.xml
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2016-08-16 16:42:59 +0200
committerYannick Tivisse <yti@odoo.com>2016-08-22 12:56:49 +0200
commit2adae8ff0f530ce219570bd27610561b42dbc55a (patch)
treea05bde2c03fc7c0ffada90389e74ee32be238d7d /addons/web_settings_dashboard/static/src/xml/dashboard.xml
parentc35bf5a845657606718fa751c20b17bb0e62789c (diff)
[IMP] web,web_settings_dashboard: Move 'About' menu to settings dashboard
Fp request: In the user preferences menu, remove "About Us" and put the version number in the Settings dashboard somewhere, as well as the link to switch to developer mode. Odoo is not a desktop application anymore.
Diffstat (limited to 'addons/web_settings_dashboard/static/src/xml/dashboard.xml')
-rw-r--r--addons/web_settings_dashboard/static/src/xml/dashboard.xml41
1 files changed, 35 insertions, 6 deletions
diff --git a/addons/web_settings_dashboard/static/src/xml/dashboard.xml b/addons/web_settings_dashboard/static/src/xml/dashboard.xml
index 291656cc288..7a710be2ffb 100644
--- a/addons/web_settings_dashboard/static/src/xml/dashboard.xml
+++ b/addons/web_settings_dashboard/static/src/xml/dashboard.xml
@@ -5,16 +5,16 @@
<div class="container-fluid o_web_settings_dashboard">
<div class="row">
<div class="o_web_settings_dashboard_enterprise"/>
- <div class="col-md-3 col-sm-6 col-xs-12 o_web_settings_dashboard_col">
+ <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12 o_web_settings_dashboard_col">
<div class="text-center o_web_settings_dashboard_apps"></div>
</div>
- <div class="col-md-3 col-sm-6 col-xs-12 o_web_settings_dashboard_col">
+ <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12 o_web_settings_dashboard_col">
<div class="text-center o_web_settings_dashboard_invitations"></div>
</div>
- <div class="col-md-3 col-sm-6 col-xs-12 o_web_settings_dashboard_col">
+ <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12 o_web_settings_dashboard_col">
<div class="text-center o_web_settings_dashboard_planner"></div>
</div>
- <div class="col-md-3 col-sm-6 col-xs-12 o_web_settings_dashboard_col">
+ <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12 o_web_settings_dashboard_col">
<div class="text-center o_web_settings_dashboard_share"></div>
</div>
</div>
@@ -85,7 +85,7 @@
</t>
<t t-name="DashboardPlanner">
<div class="text-center o_web_settings_dashboard_planner">
- <i class="fa fa-info-circle fa-4x text-muted"></i>
+ <i class="fa fa-check-square-o fa-4x text-muted"></i>
<div class="o_web_settings_dashboard_header">
<span class="o_web_settings_dashboard_planner_overall_progress"><t t-esc="widget.overall_progress"></t></span>%
Implementation
@@ -134,12 +134,41 @@
Help us spread the word: Share Odoo's awesomeness with your friends!
</small>
</div>
- <hr/>
<div class="row mt16">
<div class="col-xs-4"><a><i class="fa fa-twitter-square fa-4x tw_share"/></a></div>
<div class="col-xs-4"><a><i class="fa fa-facebook-square fa-4x fb_share"/></a></div>
<div class="col-xs-4"><a><i class="fa fa-linkedin-square fa-4x li_share"/></a></div>
</div>
+ <hr/>
+ <t t-set="server_version" t-value="widget.data.server_version"/>
+ <t t-set="debug" t-value="widget.data.debug"/>
+ <div class="row">
+ <div class="text-center">
+ <div class="user-heading">
+ <h3>
+ Odoo <t t-esc="server_version"/>
+ (Community Edition)
+ </h3>
+ </div>
+ <div>
+ <div class="tab-content">
+ <div id="settings" class="tab-pane active text-muted text-center o_web_settings_dashboard_compact_subtitle">
+ <small>Copyright © 2004-2016 <a target="_blank" href="https://www.odoo.com" style="text-decoration: underline;">Odoo S.A.</a> <a target="_blank" href="http://www.gnu.org/licenses/lgpl.html" style="text-decoration: underline;">GNU LGPL Licenced</a></small>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <hr/>
+ <div class="row">
+ <div class="col-md-12">
+ <a t-if="debug != true" class="oe_activate_debug_mode pull-right" href="?debug" >Activate the developer mode</a>
+ <br t-if="debug != true"/>
+ <a t-if="debug != 'assets'" class="oe_activate_debug_mode pull-right" href="?debug=assets" >Activate the developer mode (with assets)</a>
+ <br t-if="debug != 'assets'"/>
+ <a t-if="debug != false" class="oe_activate_debug_mode pull-right" href="/web" >Deactivate the developer mode</a>
+ </div>
+ </div>
</div>
</t>