diff options
| author | Alexandre Kühn <aku@odoo.com> | 2017-11-24 08:33:01 +0100 |
|---|---|---|
| committer | Alexandre Kühn <alex.e.kuhn@gmail.com> | 2018-01-18 21:43:29 +0100 |
| commit | a87d761fdbf345ada5dc93e0a686b08a0f5a0417 (patch) | |
| tree | d23be6ea90567a7ede9b4dc8c1ab33144835ca80 /addons/hr_gamification | |
| parent | 1f1c5f62c7322980ef60650d719d6efe2eeb4e1d (diff) | |
[IMP] core: menu tip ux/ui improvement
We would like to make the "no item found" screens more appealing.
Before this commit, it shows a small help tip in the top-left
corner of the screen, just below the "Create" button.
With this commit, these help tips have been replaced by onboarding
screens, which consist of a picture and some text below, both of which
are horizontally centered.
The texts have been slightly changed, so that they are shorter and clearer.
Considered modules:
(A)
account,
account_asset,
account_budget,
account_test,
account_voucher,
analytic
(B)
barcodes,
base,
base_automation,
board
(C)
calendar,
contacts,
crm
(D)
delivery
(E)
event
(F)
fleet
(G)
gamification,
google_drive
(H)
hr,
hr_attendance,
hr_contract,
hr_expense,
hr_gamification,
hr_holidays,
hr_payroll,
hr_recruitment,
hr_timesheet
(I)
im_livechat
(L)
l10n_fr_sale_closing,
link_tracker,
lunch
(M)
mail,
maintenance,
mass_mailing,
membership,
mrp
(N)
note
(P)
payment,
point_of_sale,
post_mercury,
pos_restaurant,
product,
project,
purchase,
purchase_requisition
(R)
rating,
repair,
resource
(S)
sale,
sale_timesheet,
sales_team,
stock,
stock_account,
stock_landed_costs,
stock_picking_batch,
survey
(U)
utm
(W)
web,
website,
website_blog,
website_customer,
website_event_track,
website_forum,
website_quote,
website_sale,
website_sale_digital,
website_slides
Diffstat (limited to 'addons/hr_gamification')
| -rw-r--r-- | addons/hr_gamification/views/gamification_views.xml | 14 | ||||
| -rw-r--r-- | addons/hr_gamification/views/hr_employee_views.xml | 6 |
2 files changed, 9 insertions, 11 deletions
diff --git a/addons/hr_gamification/views/gamification_views.xml b/addons/hr_gamification/views/gamification_views.xml index e819b83e124..6cccbc2a923 100644 --- a/addons/hr_gamification/views/gamification_views.xml +++ b/addons/hr_gamification/views/gamification_views.xml @@ -22,10 +22,9 @@ <field name="context">{'search_default_group_by_user': True, 'search_default_group_by_definition': True}</field> <field name="domain">[('challenge_id.category', '=', 'hr')]</field> <field name="help" type="html"> - <p class="oe_view_nocontent_create"> - Click to create a goal. - </p> - <p> + <p class="o_view_nocontent_smiling_face"> + Create a new goal + </p><p> A goal is defined by a user and a goal type. Goals can be created automatically by using challenges. </p> @@ -40,10 +39,9 @@ <field name="domain">[('category', '=', 'hr')]</field> <field name="context">{'search_default_inprogress':True, 'default_inprogress':True}</field> <field name="help" type="html"> - <p class="oe_view_nocontent_create"> - Click to create a challenge. - </p> - <p> + <p class="o_view_nocontent_smiling_face"> + Create a new challenge + </p><p> Assign a list of goals to chosen users to evaluate them. The challenge can use a period (weekly, monthly...) for automatic creation of goals. The goals are created for the specified users or member of the group. diff --git a/addons/hr_gamification/views/hr_employee_views.xml b/addons/hr_gamification/views/hr_employee_views.xml index 4ac7b7aac83..c464f4a48a0 100644 --- a/addons/hr_gamification/views/hr_employee_views.xml +++ b/addons/hr_gamification/views/hr_employee_views.xml @@ -11,9 +11,9 @@ <page string="Received Badges" attrs="{'invisible': [('user_id', '=', False)]}"> <field name="has_badges" invisible="1"/> <button string="Grant a Badge" type="action" name="%(action_reward_wizard)d"/> to reward this employee for a good action - <div class="oe_view_nocontent" attrs="{'invisible': [('has_badges', '=', True)]}"> - <p class="oe_view_nocontent_create"> - Click to grant this employee his first badge + <div class="o_view_nocontent" attrs="{'invisible': [('has_badges', '=', True)]}"> + <p class="o_view_nocontent_smiling_face"> + Grant this employee his first badge </p><p class="oe_grey"> Badges are rewards of good work. Give them to people you believe deserve it. </p> |
