<% var self=this; var cnt = 0; _.each(licenses.models, function(license) { var checkboxname = "checkbox_" + cnt; cnt++; var selected = (license.attributes.id === options.currentSelection); %> class="selected"<% } %> data-id="<%=license.attributes.id%>"> <% var checked = license.checked; var spanType = 'img/user.png'; if (license.attributes.objectClass == "oTGroup") spanType = 'img/group.png'; else if (license.attributes.objectClass == "oTIdentityProviderProfile") spanType = 'img/partitionicon.png'; %> <% }) %>
<%= i18n.headers.usergroupid %> <%= i18n.headers.name %> <%= i18n.headers.location %>
type="checkbox" <% if (checked) { %>checked="checked"<% } %>> ><%= otdsCommon.replaceHTMLCharacters (license.id) %> <%= license.attributes.name %> <%= license.attributes.location %>