[FIX] hr_skills: add text in openSkillsReport link for clarity
Prior, there was only icon and it was not clear enough. closes odoo/odoo#141132 Signed-off-by: Bertrand Dossogne (bedo) <bedo@odoo.com>
This commit is contained in:
@@ -17,6 +17,7 @@ export class SkillsListRenderer extends CommonSkillsListRenderer {
|
||||
super.setup();
|
||||
this.orm = useService('orm');
|
||||
this.action = useService("action");
|
||||
this.actionService = useService("action");
|
||||
|
||||
onWillStart(async () => {
|
||||
const res = await this.orm.searchCount('hr.skill', []);
|
||||
|
||||
@@ -9,7 +9,11 @@
|
||||
</xpath>
|
||||
<xpath expr="//table" position="before">
|
||||
<div name="skills_header" class="text-uppercase fw-bolder small ms-3" style="margin-top: 2rem; box-shadow: 0 1px 0 #e6e6e6">
|
||||
Skills <a t-on-click="openSkillsReport" class="fa fa-line-chart ms-1 cursor-pointer"/>
|
||||
Skills
|
||||
<a t-on-click="openSkillsReport" class="float-end me-3 cursor-pointer">
|
||||
<span class="fa fa-line-chart me-1"/>
|
||||
Timeline
|
||||
</a>
|
||||
</div>
|
||||
</xpath>
|
||||
<xpath expr="//table" position="after">
|
||||
|
||||
Reference in New Issue
Block a user