mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[FIX] runbot: open frontend url's in a new tab by default
This commit is contained in:
parent
3c8f821695
commit
6ed23db655
@ -68,7 +68,7 @@ export class FrontendUrl extends Component {
|
||||
static template = xml`
|
||||
<div class="o_field_many2one_selection">
|
||||
<div class="o_field_widget"><Many2OneField t-props="props"/></div>
|
||||
<div><a t-att-href="route"><span class="fa fa-play ms-2"/></a></div>
|
||||
<div><a t-att-href="route" target="_blank"><span class="fa fa-play ms-2"/></a></div>
|
||||
</div>`;
|
||||
|
||||
static components = { Many2OneField }
|
||||
@ -92,7 +92,7 @@ export class FieldCharFrontendUrl extends Component {
|
||||
static template = xml`
|
||||
<div class="o_field_many2one_selection">
|
||||
<div class="o_field_widget"><CharField t-props="props" /></div>
|
||||
<div><a t-att-href="route"><span class="fa fa-play ms-2"/></a></div>
|
||||
<div><a t-att-href="route" target="_blank"><span class="fa fa-play ms-2"/></a></div>
|
||||
</div>`;
|
||||
|
||||
static components = { CharField }
|
||||
|
Loading…
Reference in New Issue
Block a user