[FIX] website: adapt page dependencies to BS5
The goal of this commit is to fix website page dependency popover by adapting its template to BS5. task-2687506 Part-of: odoo/odoo#98180
This commit is contained in:
@@ -8,14 +8,14 @@
|
||||
<t t-call="{{ constructor.popoverTemplate }}"/>
|
||||
</t>
|
||||
<t t-if="props.type === 'key'">
|
||||
<div t-att-data-template="depTemplate" data-html="true" title="Dependencies" t-ref="action">
|
||||
<div t-att-data-bs-template="depTemplate" data-bs-html="true" title="Dependencies" t-ref="action">
|
||||
It looks like your file is being called by
|
||||
<a href="#" t-on-click="showDependencies"><t t-esc="depText" /></a>.
|
||||
Changing its name will break these calls.
|
||||
</div>
|
||||
</t>
|
||||
<t t-else="">
|
||||
<div t-att-data-template="depTemplate" data-html="true" title="Dependencies" t-ref="action">
|
||||
<div t-att-data-bs-template="depTemplate" data-bs-html="true" title="Dependencies" t-ref="action">
|
||||
(could be used in <a href="#" t-on-click="showDependencies"><t t-esc="depText" /></a>)
|
||||
</div>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user