Add template method for rendering row grid component
so custom event hooks can be added more easily, when needed
This commit is contained in:
parent
3877346b3a
commit
733e7ee00c
|
@ -107,13 +107,17 @@
|
||||||
% if rows_title:
|
% if rows_title:
|
||||||
<h4 class="block is-size-4">${rows_title}</h4>
|
<h4 class="block is-size-4">${rows_title}</h4>
|
||||||
% endif
|
% endif
|
||||||
<tailbone-grid ref="rowGrid" id="rowGrid"></tailbone-grid>
|
${self.render_row_grid_component()}
|
||||||
% else:
|
% else:
|
||||||
${rows_grid|n}
|
${rows_grid|n}
|
||||||
% endif
|
% endif
|
||||||
% endif
|
% endif
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
|
<%def name="render_row_grid_component()">
|
||||||
|
<tailbone-grid ref="rowGrid" id="rowGrid"></tailbone-grid>
|
||||||
|
</%def>
|
||||||
|
|
||||||
<%def name="render_this_page_template()">
|
<%def name="render_this_page_template()">
|
||||||
% if master.has_rows:
|
% if master.has_rows:
|
||||||
## TODO: stop using |n filter
|
## TODO: stop using |n filter
|
||||||
|
|
Loading…
Reference in a new issue