[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
This commit is contained in:
committed by
Vincent Schippefilt
parent
242f8840c8
commit
eef10097ae
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user