mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[MIG] web_widget_open_tab: Migration to 16.0
This commit is contained in:
14
web_widget_open_tab/static/src/xml/open_tab_widget.xml
Normal file
14
web_widget_open_tab/static/src/xml/open_tab_widget.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<template>
|
||||
<t t-name="web_widget_open_tab.openTab" owl="1">
|
||||
<a
|
||||
class="btn open_tab_widget fa fa-external-link"
|
||||
t-att-href="_getReference()"
|
||||
target="_blank"
|
||||
t-on-click="openNewTab"
|
||||
t-att-title="props.title"
|
||||
t-on-mouseenter="ev => this.loadAttrs(ev)"
|
||||
>
|
||||
</a>
|
||||
</t>
|
||||
</template>
|
||||
Reference in New Issue
Block a user