summaryrefslogtreecommitdiff
path: root/addons/website_profile
diff options
context:
space:
mode:
authorKevin Baptiste <kba@odoo.com>2019-08-12 07:18:23 +0000
committerYannick Tivisse <yti@odoo.com>2019-11-28 10:05:12 +0000
commitff1c35513aecef5fbc30f7c2f3834450e719714e (patch)
tree8149f14df17095845e735d6cccaf9317a1f97af6 /addons/website_profile
parent4c030311ada2ad19a2ee81b15544b7aed35b642b (diff)
[IMP] web: update to fontawesome 4.7.0 to 5.11.2
FontAwesome 5 introduced new names for some icons as described on https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes This commit replaces the old names to the new ones. closes odoo/odoo#35826 Taskid: 2050241 Related: odoo/enterprise#5180 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 f7b3b087f0e..62d297ef760 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">
+ <button name="website_publish_button" type="object" class="oe_stat_button" icon="fa-globe-americas">
<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 50694cbcbfe..6b7ddd1e2a4 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="fa fa-pencil fa-1g float-sm-none float-md-left" title="Edit"></i>
+ <i class="fas fa-pencil-alt 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="fa fa-trash-o float-sm-none float-md-right"></i>
+ <i class="far fa-trash-alt 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="fa fa-pencil mr-1"/>EDIT
+ <i class="fas fa-pencil-alt 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="fa fa-pencil mr-2"/>EDIT PROFILE
+ <i class="fas fa-pencil-alt 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="fa fa-building-o fa-fw mr-1"/><span t-field="user.partner_id.company_name"/>
+ <i class="far fa-building 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="fa fa-map-marker fa-fw mr-1"/>
+ <i class="fas fa-map-marker-alt 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 fa-fw mr-1"/><span t-field="user.website"/>
+ <i class="fa fa-globe-americas fa-fw mr-1"/><span t-field="user.website"/>
</div>
</div>
</div>