<% if (window.beforeMicrotemplateCall) { beforeMicrotemplateCall(m); } %> {{m.that.pMicroTemplate('dev_tools', m)}}
{{m.tuix.header_html}} <% if (m.tuix.title !== undefined) { %> <% if (m.tuix.title_tags) { %> <{{m.tuix.title_tags|e}}>{{m.tuix.title|e}} <% } else { %>

{{m.tuix.title|e}}

<% } %> <% } %>
<% if (zenarioT.find(m.tuix.sortedCollectionButtons, 'back')) { %> {{m.that.pMicroTemplate('button', m.tuix.sortedCollectionButtons, 'back')}} <% } %>
<% if (zenarioT.find(m.tuix.sortedCollectionButtons, 'top')) { %> {{m.that.pMicroTemplate('button', m.tuix.sortedCollectionButtons, 'top')}} <% } %>
<% var ci, col, chi, child, bi, button, ii, item, tag, headerId = false, firstItem = true; %> {{m.that.pMicroTemplate('list_search', m)}} <% if (m.tuix.item_count_message && m.tuix.__item_count__ > 1) { %>

{{m.tuix.item_count_message.replace("[[count]]", m.tuix.__item_count__)|e}}

<% } %> <% if (m.tuix.subtitle !== undefined) { %>

{{m.tuix.subtitle|e}}

<% } %> <% if (m.tuix.sortedCollectionButtons.length) { %>
<% if (zenarioT.find(m.tuix.sortedCollectionButtons, false)) { %> {{m.that.pMicroTemplate('button', m.tuix.sortedCollectionButtons, false)}} <% } %>
<% } %> <% if (!_.isEmpty(m.tuix.columns)) { %>
> <% foreach (m.tuix.sortedItems as ii => item) { %> <% if (m.tuix.has_headers) { %> <% if (item.header_id != headerId) { %> <% if (headerId !== false) { %>
<% } %> <% headerId = item.header_id; %>

{{item.header_name|e}}

<% } %> <% } %>
"<% } %>> <% foreach (m.tuix.sortedColumns as ci => col) { %> <% tag = col.tag ? col.tag : 'p'; %> <{{tag|e}} id="{{('zfea_' + m.that.containerId + '_row_' + ii + '_col_' + ci)|e}}" data-label="{{col.title|e}}" class=" column_{{col.id|e}} {{col.css_class|e}} <% if (ci == 0) { %> zfea_first_col <% } %>" > {{m.that.pMicroTemplate('list_cell', {col: col, item: item})}} <% } %> <% if (item.sortedItemButtons.length > 1) { %>
{{m.that.pMicroTemplate('button', item.sortedItemButtons)}}
<% } %>
<% } %> <% if (!zenario.mobile) { m.that.after(function() { var maxHeight = 0; $('#' + m.that.containerId + ' .zfea_block_list_wrap .zfea_block') .each(function() { maxHeight = Math.max(maxHeight, $(this).height()); }) .height(maxHeight); }); } %> <% if (m.tuix.sortedItems.length == 0) { %> <% if (m.tuix.no_items_message) { %>
{{m.tuix.no_items_message}}
<% } %> <% } %>
<% } %> {{m.that.pMicroTemplate('list_pagination', m)}} {{m.tuix.footer_html}}
<% m.that.after(function() { if (window.afterMicrotemplateCall) { afterMicrotemplateCall(m); } }); %>