libreerp_ynh/sources/patches/11-00-remove-share-dashboard.patch

53 lines
3.2 KiB
Diff
Raw Permalink Normal View History

diff --cc addons/web_settings_dashboard/static/src/xml/dashboard.xml
index f7b12769459,8509f725f97..00000000000
--- a/addons/web_settings_dashboard/static/src/xml/dashboard.xml
+++ b/addons/web_settings_dashboard/static/src/xml/dashboard.xml
@@@ -134,34 -91,19 +134,20 @@@
<t t-name="DashboardShare">
<div class="text-center o_web_settings_dashboard_share">
- <i class="fa fa-share-alt fa-4x text-muted"/>
- <div class="o_web_settings_dashboard_header">Share the Love</div>
- <div>
- <small class="text-muted text-center o_web_settings_dashboard_compact_subtitle">
- Help us spread the word: Share Odoo's awesomeness with your friends!
- </small>
- </div>
- <div class="row mt16">
- <div class="col-xs-4"><a href="#"><i class="fa fa-twitter-square fa-4x tw_share"/></a></div>
- <div class="col-xs-4"><a href="#"><i class="fa fa-facebook-square fa-4x fb_share"/></a></div>
- <div class="col-xs-4"><a href="#"><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"/>
- <t t-set="demo_active" t-value="widget.data.demo_active"/>
- <div class="text-center">
- <div class="user-heading">
- <h3>
- LibreERP <t t-esc="server_version"/> <i>fork from Odoo CE</i>
- </h3>
- </div>
- <div>
- <div class="tab-content">
- <div role="tabpanel" id="settings" class="tab-pane active text-muted text-center o_web_settings_dashboard_compact_subtitle">
- <a target="_blank" href="http://www.gnu.org/licenses/lgpl.html" style="text-decoration: underline;">GNU LGPL Licensed</a></small>
+ <div class="row">
+ <div class="text-center">
+ <div class="user-heading">
+ <h3>
- Odoo <t t-esc="server_version"/>
- (Community Edition)
++ LibreERP <t t-esc="server_version"/>
+ </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 Licensed</a></small>
++ forked from Odoo CE - <a target="_blank" href="http://www.gnu.org/licenses/lgpl.html" style="text-decoration: underline;">GNU LGPL Licensed</a>
+ </div>
</div>
</div>
</div>