Public release from ruodoo-project: 19.0 - 2026-05-10 21:19:01 UTC
This commit is contained in:
20
translation_helper/static/src/field_translation.xml
Normal file
20
translation_helper/static/src/field_translation.xml
Normal file
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="translation_link_generation.FormLabel" t-inherit="web.FormLabel">
|
||||
<xpath expr="//sup" position="after">
|
||||
<Dropdown t-if="hasTranslation">
|
||||
<button type="button" class="btn btn-link btn-primary py-0 px-1">
|
||||
<i class="fa fa-language" />
|
||||
</button>
|
||||
<t t-set-slot="content">
|
||||
<t t-if="tooltipHelp">
|
||||
<DropdownItem onSelected="() => this.onClickTranslate('help')">Help</DropdownItem>
|
||||
</t>
|
||||
<DropdownItem onSelected="() => this.onClickTranslate('field_description')">String</DropdownItem>
|
||||
</t>
|
||||
</Dropdown>
|
||||
</xpath>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
Reference in New Issue
Block a user