<% if (zenarioA.adminSettings && zenarioA.adminSettings.show_dev_tools) { %>
<% } %>
{{m.tuix.header_html}} <% if (m.tuix.title !== undefined) { %> <% if (m.tuix.title_tags) { %> <{{m.tuix.title_tags|escape}}>{{m.tuix.title|escape}} <% } else { %>

{{m.tuix.title|escape}}

<% } %> <% } %>
{{m.that.microTemplate(m.that.mtPrefix + '_button', m.tuix.sortedCollectionButtons, button => {return button.location == 'back';} )}}
{{m.that.microTemplate(m.that.mtPrefix + '_button', m.tuix.sortedCollectionButtons, button => {return button.location == 'top';} )}}
<% var ci, col, chi, child, bi, button, ii, item, firstItem = true; %> <% if (!m.tuix.hide_search_bar && (m.tuix.sortedItems.length > 1 || (m.that.request.search != '' && m.that.request.search !== undefined))) { %>
<% if (m.that.request.search != undefined && m.that.request.search != '') { %> <% } %>
<% var searchButtonFound = false; %> <% for (var count = 0; count < m.tuix.sortedCollectionButtons.length; count++) { %> <% if (m.tuix.sortedCollectionButtons[count].location == 'search') { %> <% searchButtonFound = true; break; %> <% } %> <% } %> <% if (searchButtonFound) { %>
{{m.that.microTemplate(m.that.mtPrefix + '_button', m.tuix.sortedCollectionButtons, button => {return button.location == 'search';} )}}
<% } %> <% } %> <% if (m.tuix.hide_column_headings) { %>
{{m.that.microTemplate(m.that.mtPrefix + '_button', m.tuix.sortedCollectionButtons, button => {return !button.location;} )}}
<% } %> <% if (m.tuix.subtitle !== undefined) { %>

{{m.tuix.subtitle|escape}}

<% } %>
<% if (!m.tuix.hide_column_headings) { %> <% if (m.that.multiSelectButtonsExist) { %> <% } %> <% foreach (m.tuix.sortedColumns as ci => col) { %> <% } %> <% if (m.tuix.itemHasItemButton || m.tuix.sortedCollectionButtons.length) { %> <% } %> <% } %> <% foreach (m.tuix.sortedItems as ii => item) { %> <% if (m.that.multiSelectButtonsExist) { %> <% } %> <% foreach (m.tuix.sortedColumns as ci => col) { %> <% } %> <% if (m.tuix.itemHasItemButton || m.tuix.sortedCollectionButtons.length) { %> <% } %> <% if (firstItem) { %> <% } %> <% firstItem = false; %> <% } %> <% if (m.tuix.sortedItems.length == 0) { %> <% if (m.tuix.no_items_message) { %> <% } %> <% } %>
{{col.title|escape}} {{m.that.microTemplate(m.that.mtPrefix + '_button', m.tuix.sortedCollectionButtons, button => {return !button.location;} )}}
title="{{item.cell_tooltip[col.id]|escape}}" <% } %> > {{m.that.microTemplate(m.that.mtPrefix + '_list_cell', {col: col, item: item})}} <% if (col.children) { %> <% foreach (col.children as chi => child) { %>
<% if (child.title) { %> <% } %> {{m.that.microTemplate(m.that.mtPrefix + '_list_cell', {col: child, item: item})}} <% } %> <% } %>
<% if (item.sortedItemButtons.length) { %> {{m.that.microTemplate(m.that.mtPrefix + '_button', item.sortedItemButtons)}} <% } else { %>   <% } %>
{{m.tuix.no_items_message}}
{{m.tuix.footer_html}}