%
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}}{{m.tuix.title_tags|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)) { %>
<% } %>
<% headerId = item.header_id; %>
{{item.header_name|e}}
<% } %>
<% } %>
<% } %>
<%
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);
}
});
%>