[FIX] web: make tooltips for the view switcher consistent across views
With the new OWL view infrastructure introduced by 0134495, tooltips for the view switcher are not consistent across the different views. The converted views show a popover component, the legacy views show a browser tooltip.
After this commit, the view switcher's tooltips are always a popover component.
closes odoo/odoo#76444
X-original-commit: ad7db83e6dcf4c124234a3c611b84012f898acd0
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Signed-off-by: Bruno Boi <brboi@users.noreply.github.com>
This commit is contained in:
@@ -657,8 +657,7 @@
|
||||
t-attf-class="btn btn-secondary fa fa-lg o_switch_view o_{{ view.type }} {{ view.icon }}"
|
||||
t-att-class="{ active: env.view.type === view.type }"
|
||||
t-att-aria-label="sprintf(buttonLabel.toString(), view.type)"
|
||||
t-att-title="sprintf(buttonLabel.toString(), view.type)"
|
||||
data-toggle="tooltip"
|
||||
t-att-data-tooltip="view.name"
|
||||
tabindex="-1"
|
||||
t-on-click="trigger('switch-view', { view_type: view.type })"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user