<% if (hiddenColumnNames.indexOf(allColumnNames[0]) === -1) { %> <% } %> <% if (hiddenColumnNames.indexOf(allColumnNames[1]) === -1) { %> <%- hostname %> <% } %> <% if (hiddenColumnNames.indexOf(allColumnNames[2]) === -1) { %> <% if( task.state === 'completed' || task.state === 'running' ) { %> <%- strings.EDIT %>  <% } else {%> <%- strings.EDIT %>  <% } %> <% if( task.state === 'running' ) { %> <%- strings.REMOVE %> <% } else {%> <%- strings.REMOVE %> <% } %> <% } %> <% if (hiddenColumnNames.indexOf(allColumnNames[3]) === -1) { %> <%- dns %> <% } %> <% if (hiddenColumnNames.indexOf(allColumnNames[4]) === -1) { %> <%- clientName %> <% } %> <% if (hiddenColumnNames.indexOf(allColumnNames[5]) === -1) { %> <%- ip %> <% } %> <% if (hiddenColumnNames.indexOf(allColumnNames[6]) === -1) { %> <%- splunkPlatform %> <% } %> <% if (hiddenColumnNames.indexOf(allColumnNames[7]) === -1) { %> <%- phoneHome %> <% } %> <% if (hiddenColumnNames.indexOf(allColumnNames[8]) === -1) { %> <%- splunkVersion %> <% } %> <% if (hiddenColumnNames.indexOf(allColumnNames[9]) === -1) { %> <%- splunkRole %> <% } %> <% if (hiddenColumnNames.indexOf(allColumnNames[10]) === -1) { %> <% if (task) { %> <% if (task.state === 'new') { %> <% } else if (task.state === 'running') { %> <% } else if (task.state === 'completed') { %> <% } else { %> <% } %> <%- taskModel.getLabelFromStatus(task.state) %> <% } %> <% } %> <% if (hiddenColumnNames.indexOf(allColumnNames[11]) === -1) { %> <%- deployStatus %> (<%- _("details").t() %>) <% } %> <% if (hiddenColumnNames.indexOf(allColumnNames[12]) === -1) { %> <% if (isPending) { %> <%- pendingText %> <% } %> ' <% } %> <% if (hiddenColumnNames.indexOf(allColumnNames[13]) === -1) { %> <% if (canConfigure) { %> <% if (configureUrl !== null) { %> <%- strings.CONFIGURE %> <% } else { %> <%- strings.CONFIGURE %> <% } %> <% } %> <% if (showRemoveLink) { %> <%- strings.REMOVE %> <% } %> <% } %>