<% var self=this; var cnt2 = 0; _.each(accessroles.models, function(accessrole) { var pushState = otdsCommon.getPushAllGroupsState(accessrole); if (_.isUndefined(pushState) || pushState==='False') pushState=i18n.actions.includeGroups; else pushState=i18n.actions.excludeGroups; var selected = (accessrole.attributes.id === options.currentSelection); var checkboxname = "checkbox_" + cnt2; cnt2++; %> class="selected"<% } %> id="row" data-id="<%=accessrole.attributes.name%>"> <% var checked = accessrole.checked; %> <% if (pushState == i18n.actions.excludeGroups) {%> <%} else {%> <% } %> <% }) %>
<%= i18n.headers.name %> <%= i18n.headers.description %> <%=i18n.actions.title %> <%= i18n.headers.actions %>
type="checkbox" <% if (checked) { %>checked="checked"<% } %> > <%= otdsCommon.replaceHTMLCharacters (accessrole.attributes.name) %> <%= otdsCommon.replaceHTMLCharacters (accessrole.attributes.description) %> <%= i18n.actions.included %><%= i18n.actions.excluded %> <%= i18n.headers.actions %>
  • <% var pushAllGroups = false; for (var cnt = 0; cnt < accessrole.attributes.attributeList.length; cnt++) { if (accessrole.attributes.attributeList[cnt].name == "pushAllGroups") { pushAllGroups = accessrole.attributes.attributeList[cnt].values[0]; } } if (pushAllGroups == "True") { %> <%= i18n.actions.excludeGroups %> <% } else { %> <%= i18n.actions.includeGroups %> <% } %>
  • <%= i18n.actions.viewdetails %>