<% var self=this; var cnt = 0; _.each(resources.models, function(resource) { var checkboxname = "checkbox_" + cnt; cnt++; var selected= (resource.attributes.id === options.currentSelection); %> class="selected"<% } %> data-id="<%=resource.attributes.resourceName%>"> <% var checked = resource.checked; %> <% }) %>
<%= i18n.headers.name %> <%= i18n.headers.resourceID %> <%= i18n.headers.displayName %> <%= i18n.headers.description %> <%= i18n.headers.actions %>
type="checkbox" <% if (checked) { %>checked="checked"<% } %>> <%= otdsCommon.replaceHTMLCharacters (resource.attributes.resourceName) %> <%= resource.attributes.resourceID %> <%= otdsCommon.replaceHTMLCharacters (resource.attributes.displayName) %> <%= otdsCommon.replaceHTMLCharacters (resource.attributes.description) %> <%= i18n.actions.actions %>
  • <%= i18n.actions.properties %>
  • <%= i18n.actions.activationStatus %>
  • <%= i18n.actions.notifications %>
  • <%= i18n.actions.impersonation %>
  • <% if (resource.attributes.resourceState != 0) { %>
  • <%= i18n.actions.deactivateResource %>
  • <% var disableEnableAuthentication = i18n.actions.enableAuthentication; if (resource.attributes.resourceState == 1) { disableEnableAuthentication = i18n.actions.disableAuthentication; } %>
  • <%= disableEnableAuthentication %>
  • <% } if (resource.attributes.resourceType != null) { var userSync = i18n.actions.turnUserSyncOn; if (resource.attributes.userSynchronizationState) { userSync = i18n.actions.turnUserSyncOff; }%>
  • <%= userSync %>
  • <%= i18n.actions.consolidate %>
  • <% } %>