class="selected"<% } %> data-id="<%=license.attributes.id%>">
<%
var checked = license.checked;
var usageUnit = "";
if (otdsCommon.getAttribute (license, 'oTLicenseType') != 'UNLICENSED')
{
usageUnit += otdsCommon.getAttribute (license, 'oTLicenseUnitsCurrent') + " / " + otdsCommon.getAttribute (license, 'oTLicenseUnitsTotal');
usageUnit += " (" + otdsCommon.getAttribute (license, 'oTLicenseUnitMeasurement') + ")";
}
var licenseType = otdsCommon.getAttribute (license, 'oTLicenseType'), stat = "", st = otdsCommon.getAttribute (license, 'oTLicenseStatus');
if ( st && st != 'VALID') {
stat="style='color: red; font-weight: bold'"
}
%>
type="checkbox" <% if (checked) { %>checked="checked"<% } %>> |
><%= otdsCommon.replaceHTMLCharacters (license.attributes.name) %> |
<% if(!options.showCertificates){ %>
<%= otdsCommon.replaceHTMLCharacters (license.attributes._oTLicenseResourceName) + " (" + otdsCommon.replaceHTMLCharacters (license.attributes._oTLicenseResource) + ")" %> |
<% }%>
<%= otdsCommon.convertLDAPDateToReadableDate_v2 (otdsCommon.getAttribute (license, 'oTLicenseExpiryDate')) %> |
<% if(!options.showCertificates){ %>
<%= otdsCommon.replaceHTMLCharacters (usageUnit) %> |
<%= otdsCommon.replaceHTMLCharacters (license.attributes._oTLicenseProduct) %> |
<% }%>
<%= i18n.actions.actions %>
|
<% }) %>