summaryrefslogtreecommitdiff
path: root/addons/website_profile
diff options
context:
space:
mode:
authorKevin Baptiste <kba@odoo.com>2019-12-05 07:18:28 +0000
committerKevin Baptiste <kba@odoo.com>2019-12-09 10:33:36 +0000
commit6cbe824871da51af27ac5b2feb7ecc9fcd6b18d0 (patch)
tree5e3300c274fdedb5f8a13e0dc964f89941e17538 /addons/website_profile
parent78ae3da90213261071fdadb06cbb0507182303e2 (diff)
[REV] web: reverts update to fontawesome 5.11.2
This reverts commit ff1c35513aecef5fbc30f7c2f3834450e719714e. closes odoo/odoo#41480 X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc Related: odoo/enterprise#7110 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/website_profile')
-rw-r--r--addons/website_profile/views/gamification_badge_views.xml2
-rw-r--r--addons/website_profile/views/website_profile.xml14
2 files changed, 8 insertions, 8 deletions
diff --git a/addons/website_profile/views/gamification_badge_views.xml b/addons/website_profile/views/gamification_badge_views.xml
index 62d297ef760..f7b3b087f0e 100644
--- a/addons/website_profile/views/gamification_badge_views.xml
+++ b/addons/website_profile/views/gamification_badge_views.xml
@@ -6,7 +6,7 @@
<field name="inherit_id" ref="gamification.badge_form_view"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='button_box']" position="inside">
- <button name="website_publish_button" type="object" class="oe_stat_button" icon="fa-globe-americas">
+ <button name="website_publish_button" type="object" class="oe_stat_button" icon="fa-globe">
<field name="is_published" widget="website_publish_button"/>
</button>
</xpath>
diff --git a/addons/website_profile/views/website_profile.xml b/addons/website_profile/views/website_profile.xml
index 6b7ddd1e2a4..50694cbcbfe 100644
--- a/addons/website_profile/views/website_profile.xml
+++ b/addons/website_profile/views/website_profile.xml
@@ -104,10 +104,10 @@
<img class="o_forum_avatar_img w-100 mb-3" t-att-src="website.image_url(user, 'image_128')"/>
<div class="text-center">
<a href="#" class="o_forum_profile_pic_edit btn btn-primary" aria-label="Edit">
- <i class="fas fa-pencil-alt fa-1g float-sm-none float-md-left" title="Edit"></i>
+ <i class="fa fa-pencil fa-1g float-sm-none float-md-left" title="Edit"></i>
</a>
<a href="#" title="Clear" aria-label="Clear" class="btn border-primary o_forum_profile_pic_clear">
- <i class="far fa-trash-alt float-sm-none float-md-right"></i>
+ <i class="fa fa-trash-o float-sm-none float-md-right"></i>
</a>
</div>
<div class="form-group mt-3 mb-0 pt-2 border-top">
@@ -205,7 +205,7 @@
<div t-attf-class="d-flex align-items-start h-100 #{'justify-content-between' if (request.env.user == user) else 'justify-content-around' }">
<div class="o_wprofile_pict d-inline-block mb-3 mb-md-0" t-attf-style="background-image: url(#{website.image_url(user, 'image_1024')});"/>
<a class="btn btn-primary d-inline-block d-md-none" t-if="request.env.user == user and user.karma != 0" t-attf-href="/profile/edit?url_param=#{edit_button_url_param}">
- <i class="fas fa-pencil-alt mr-1"/>EDIT
+ <i class="fa fa-pencil mr-1"/>EDIT
</a>
</div>
</div>
@@ -217,20 +217,20 @@
<span t-field="user.name"/><small t-if="user.karma == 0"> (not verified)</small>
</h1>
<a class="btn btn-primary d-none d-md-inline-block" t-if="request.env.user == user and user.karma != 0 or request.env.user._is_admin()" t-attf-href="/profile/edit?url_param=#{edit_button_url_param}">
- <i class="fas fa-pencil-alt mr-2"/>EDIT PROFILE
+ <i class="fa fa-pencil mr-2"/>EDIT PROFILE
</a>
</div>
<div class="d-flex flex-column justify-content-center flex-grow-1 mb-0 mb-md-5">
<div t-if="user.partner_id.company_name" class="lead mb-2">
- <i class="far fa-building fa-fw mr-1"/><span t-field="user.partner_id.company_name"/>
+ <i class="fa fa-building-o fa-fw mr-1"/><span t-field="user.partner_id.company_name"/>
</div>
<div t-if="user.city or user.country_id" class="lead mb-2">
- <i class="fas fa-map-marker-alt fa-fw mr-1"/>
+ <i class="fa fa-map-marker fa-fw mr-1"/>
<span t-field="user.city"/><span class="text-nowrap ml-1" t-if="user.country_id">(<span t-field="user.country_id"/>)</span>
</div>
<div t-if="user.website" class="lead mb-2">
- <i class="fa fa-globe-americas fa-fw mr-1"/><span t-field="user.website"/>
+ <i class="fa fa-globe fa-fw mr-1"/><span t-field="user.website"/>
</div>
</div>
</div>