diff options
| author | Pierre Rousseau <pro@odoo.com> | 2019-11-05 13:38:22 +0000 |
|---|---|---|
| committer | Vincent Schippefilt <vsc@odoo.com> | 2019-12-09 12:53:24 +0000 |
| commit | eef10097aefe04c3a89d5226727a45d540bf8f63 (patch) | |
| tree | f07e301bcc021117223cf8dade8670608a30c994 /addons/web/static/src/xml/base.xml | |
| parent | 242f8840c8064a09694398a02cc530242ff48206 (diff) | |
[IMP] web: no content helper
Duplicate the template of no content helper so it is available both in
Odoo legacy QWeb and in OWL QWeb templates
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index fcff4c1e312..8854426367c 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -248,6 +248,20 @@ </t> </t> +<div t-name="web.NoContentHelper" class="o_view_nocontent" role="alert" owl="1"> + <div class="o_nocontent_help"> + <p class="o_view_nocontent_empty_folder"> + <t t-if="title" t-esc="title"/> + <t t-else="1">No data to display</t> + </p> + <p> + <t t-if="description" t-esc="description"/> + <t t-else="1">Try to add some records, or make sure that there is no + active filter in the search bar.</t> + </p> + </div> +</div> + <div t-name="View.NoContentHelper" class="o_view_nocontent" role="alert"> <div class="o_nocontent_help"> <p class="o_view_nocontent_empty_folder"> |
