diff options
| author | Kevin Baptiste <kba@odoo.com> | 2019-08-12 07:18:23 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-11-28 10:05:12 +0000 |
| commit | ff1c35513aecef5fbc30f7c2f3834450e719714e (patch) | |
| tree | 8149f14df17095845e735d6cccaf9317a1f97af6 /addons/project/views/project_views.xml | |
| parent | 4c030311ada2ad19a2ee81b15544b7aed35b642b (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/project/views/project_views.xml')
| -rw-r--r-- | addons/project/views/project_views.xml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml index e96ba7ec9cd..4eaa480b3f4 100644 --- a/addons/project/views/project_views.xml +++ b/addons/project/views/project_views.xml @@ -91,14 +91,14 @@ </header> <sheet string="Project"> <div class="oe_button_box" name="button_box" groups="base.group_user"> - <button class="oe_stat_button" name="attachment_tree_view" type="object" icon="fa-file-text-o"> + <button class="oe_stat_button" name="attachment_tree_view" type="object" icon="fa-file-alt"> <field string="Documents" name="doc_count" widget="statinfo"/> </button> <button class="oe_stat_button" type="action" name="%(act_project_project_2_project_task_all)d" icon="fa-tasks"> <field string="Tasks" name="task_count" widget="statinfo" options="{'label_field': 'label_tasks'}"/> </button> - <button name="action_view_all_rating" type="object" attrs="{'invisible': ['|', '|', ('rating_status', '=', 'no'), ('rating_percentage_satisfaction', '=', -1)]}" class="oe_stat_button oe_percent" icon="fa-smile-o" groups="project.group_project_rating"> + <button name="action_view_all_rating" type="object" attrs="{'invisible': ['|', '|', ('rating_status', '=', 'no'), ('rating_percentage_satisfaction', '=', -1)]}" class="oe_stat_button oe_percent" icon="fa-smile" groups="project.group_project_rating"> <div class="o_field_widget o_stat_info"> <span class="o_stat_value"> <field name="rating_percentage_satisfaction" nolabel="1"/> @@ -338,16 +338,16 @@ </span> </div> <div t-if="record.alias_name.value and record.alias_domain.value"> - <span><i class="fa fa-envelope" role="img" aria-label="Domain Alias" title="Domain Alias"></i> <t t-esc="record.alias_id.value"/></span> + <span><i class="far fa-envelope" role="img" aria-label="Domain Alias" title="Domain Alias"></i> <t t-esc="record.alias_id.value"/></span> </div> <div t-if="record.rating_status.raw_value != 'no'" class="mt8 text-primary" title="Percentage of happy ratings over the past 30 days. Get rating details from the More menu." groups="project.group_project_rating"> <b> <t t-if="record.rating_percentage_satisfaction.value == -1"> - <i class="fa fa-smile-o"/> No rating yet + <i class="far fa-smile"/> No rating yet </t> <t t-if="record.rating_percentage_satisfaction.value != -1"> <a name="action_view_all_rating" type="object" context="{'search_default_rating_last_30_days':1}"> - <i class="fa fa-smile-o" role="img" aria-label="Percentage of satisfaction" title="Percentage of satisfaction"/> <t t-esc="record.rating_percentage_satisfaction.value"/>% + <i class="far fa-smile" role="img" aria-label="Percentage of satisfaction" title="Percentage of satisfaction"/> <t t-esc="record.rating_percentage_satisfaction.value"/>% </a> </t> </b> @@ -455,7 +455,7 @@ attrs="{'invisible' : [('id', '=', False)]}" context="{'default_user_id': user_id, 'default_parent_id': id, 'default_project_id': subtask_project_id}" groups="project.group_subtask_project"> <field string="Sub-tasks" name="subtask_count" widget="statinfo"/> </button> - <button name="%(rating_rating_action_task)d" type="action" attrs="{'invisible': [('rating_count', '=', 0)]}" class="oe_stat_button" icon="fa-smile-o" groups="project.group_project_rating"> + <button name="%(rating_rating_action_task)d" type="action" attrs="{'invisible': [('rating_count', '=', 0)]}" class="oe_stat_button" icon="fa-smile" groups="project.group_project_rating"> <field name="rating_count" string="Rating" widget="statinfo"/> </button> </div> @@ -632,12 +632,12 @@ <field name="priority" widget="priority"/> <field name="activity_ids" widget="kanban_activity"/> <t t-if="record.message_needaction_counter.raw_value"> - <span role="alert" class='oe_kanban_mail_new' title='Unread Messages'><i class='fa fa-comments' role="img" aria-label="Unread Messages"/><t t-raw="record.message_needaction_counter.raw_value"/></span> + <span role="alert" class='oe_kanban_mail_new' title='Unread Messages'><i class='fas fa-comments' role="img" aria-label="Unread Messages"/><t t-raw="record.message_needaction_counter.raw_value"/></span> </t> <b t-if="record.rating_ids.raw_value.length"> - <span style="font-weight:bold;" class="fa fa-fw mt4 fa-smile-o text-success" t-if="record.rating_last_value.value == 10" title="Latest Rating: Satisfied" role="img" aria-label="Happy face"/> - <span style="font-weight:bold;" class="fa fa-fw mt4 fa-meh-o text-warning" t-if="record.rating_last_value.value == 5" title="Latest Rating: Not Satisfied" role="img" aria-label="Neutral face"/> - <span style="font-weight:bold;" class="fa fa-fw mt4 fa-frown-o text-danger" t-if="record.rating_last_value.value == 1" title="Latest Rating: Higly Dissatisfied" role="img" aria-label="Sad face"/> + <span style="font-weight:bold;" class="far fa-fw mt4 fa-smile text-success" t-if="record.rating_last_value.value == 10" title="Latest Rating: Satisfied" role="img" aria-label="Happy face"/> + <span style="font-weight:bold;" class="far fa-fw mt4 fa-meh text-warning" t-if="record.rating_last_value.value == 5" title="Latest Rating: Not Satisfied" role="img" aria-label="Neutral face"/> + <span style="font-weight:bold;" class="far fa-fw mt4 fa-frown text-danger" t-if="record.rating_last_value.value == 1" title="Latest Rating: Higly Dissatisfied" role="img" aria-label="Sad face"/> </b> <!-- formating of the date --> <t t-set="date_format" t-value="'MM/DD/YY'" /> |
