<% if (showuser) { %><% } %> <% if (showproject) { %><% } %> <% if (showstatus) { %><% } %> <% _.each(groups, function(group, uuid) { %> <% _.each(group.clusters, function(res) { %> <% if (showuser) { %> <% } %> <% if (showproject) { %> <% } %> <% if (showstatus) { %> <% } %> <% }); %> <% }); %>
 CreatorProjectType Cluster Count Using Utilization Created Starts EndsStatusNotes
<% if (group.uid_idx) { %> <%- group.uid %> <% } else { %> <%- group.remote_uid %> <% } %> <% if (group.pid_idx) { %> <%- group.pid %> <% } else { %> <%- group.remote_pid %> <% } %> <%- res.type %> <%- res.cluster_id %> <%- res.count %> <% if (res.active && res.using != null) { %> <% if (res.using < res.count) { %> <%- res.using %> <% } else { %> <%- res.using %> <% } %> <% } else { %>   <% } %> <% if (res.utilization != null) { %> <%- res.utilization %>% <% } else { %>   <% } %> <%- group.created %> <% if (!group.start) { %>   <% } else if (new Date().getTime() > new Date(group.start).getTime()) { %> <%- group.start %> <% } else { %> <%- group.start %> <% } %> <% if (!group.end) { %>   <% } else { %> <% if (!group.idledetection) { %> <% } %> <%- group.end %> <% if (!group.idledetection) { %> <% } %> <% } %>