[FIX] *: switch image's .rounded-circle to `.rounded
*: gamification, hr, hr_contract, hr_expense, hr_holidays, hr_org_chart, lunch, mail, web Since the Milk refactoring, the backend uses only `.rounded` avatar images. The `.rounded-circle` classes on images have been replaced by `.rounded`. task-3336569 part of task-3326263 closes odoo/odoo#123286 X-original-commit: b492049788353274fb32bb6fbe4d40e97a184a87 Related: odoo/enterprise#41798 Signed-off-by: Pierre Paridans (app) <app@odoo.com>
This commit is contained in:
@@ -24,14 +24,14 @@
|
||||
<!-- NOTE: Since by the default on not squared images odoo add white borders,
|
||||
use bg-images to get a clean and centred images -->
|
||||
<a t-if="! is_self"
|
||||
class="o_media_object d-block rounded-circle o_employee_redirect"
|
||||
class="o_media_object d-block rounded o_employee_redirect"
|
||||
t-att-style="'background-image:url(\'/web/image/hr.employee.public/' + employee.id + '/avatar_1024/\')'"
|
||||
t-att-alt="employee.name"
|
||||
t-att-data-employee-id="employee.id"
|
||||
t-att-href="employee.link"
|
||||
t-on-click.prevent="() => this._onEmployeeRedirect(employee.id)"/>
|
||||
<div t-if="is_self"
|
||||
class="o_media_object d-block rounded-circle border border-info"
|
||||
class="o_media_object d-block rounded border border-info"
|
||||
t-att-style="'background-image:url(\'/web/image/hr.employee.public/' + employee.id + '/avatar_1024/\')'"/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user