mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_refresher: Provide the ability to reload information from a report view
This commit is contained in:
39
web_refresher/static/src/xml/control_panel.xml
Normal file
39
web_refresher/static/src/xml/control_panel.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!-- Copyright 2024 Tecnativa - Carlos Roca
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
|
||||
<template>
|
||||
<t
|
||||
t-name="web_refresher.ControlPanel.Regular"
|
||||
t-inherit="web.ControlPanel.Regular"
|
||||
t-inherit-mode="extension"
|
||||
owl="1"
|
||||
>
|
||||
<xpath expr="//div[hasclass('o_cp_bottom_right')]" position="after">
|
||||
<div
|
||||
t-if="!display['bottom-right']"
|
||||
class="o_cp_bottom_right oe_cp_refresher"
|
||||
role="search"
|
||||
t-ref="refresher"
|
||||
>
|
||||
<Refresher />
|
||||
</div>
|
||||
</xpath>
|
||||
</t>
|
||||
<t
|
||||
t-name="web_refresher.ControlPanel.Small"
|
||||
t-inherit="web.ControlPanel.Small"
|
||||
t-inherit-mode="extension"
|
||||
owl="1"
|
||||
>
|
||||
<xpath expr="//div[hasclass('o_cp_pager')]" position="after">
|
||||
<div
|
||||
t-if="!display['bottom-right']"
|
||||
class="o_cp_bottom_right oe_cp_refresher"
|
||||
role="search"
|
||||
t-ref="refresher"
|
||||
>
|
||||
<Refresher />
|
||||
</div>
|
||||
</xpath>
|
||||
</t>
|
||||
</template>
|
||||
Reference in New Issue
Block a user