|
<% if (showuser) { %>
<% if (group.uid_idx) { %>
<%- group.uid %>
<% } else { %>
<%- group.remote_uid %>
<% } %>
|
<% } %>
<% if (showproject) { %>
<% 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) { %>
<% } %>
<% } %>
|
<% if (showstatus) { %>
Approved
Pending
Canceled
<% if (isadmin && showcontrols) { %>
<% } %>
|
<% } %>
…
|
<% }); %>
<% }); %>