<% var self=this; var cnt = 0; _.each(licenses, function(license) { console.log("Row:", license); %> <% var usageUnit = "", l = {attributes: license}; if (otdsCommon.getAttribute (l, 'oTLicenseType') != 'UNLICENSED') { usageUnit += otdsCommon.getAttribute (l, 'oTLicenseUnitsCurrent') + " / " + otdsCommon.getAttribute (l, 'oTLicenseUnitsTotal'); usageUnit += " (" + otdsCommon.getAttribute (l, 'oTLicenseUnitMeasurement') + ")"; } %> <% }) %>
<%= i18n.headers.licensename %> <%= i18n.headers.resourceid %> <%= i18n.headers.oTLicenseExpiryDate %> <%= i18n.headers.oTLicenseLicenseUsage %> <%= i18n.headers.oTLicenseProduct %>
<%= otdsCommon.replaceHTMLCharacters (license.name) %> <%= otdsCommon.replaceHTMLCharacters (license._oTLicenseResourceName) + " (" + otdsCommon.replaceHTMLCharacters (license._oTLicenseResource) + ")" %> <%= otdsCommon.convertLDAPDateToReadableDate_v2 (otdsCommon.getAttribute (l, 'oTLicenseExpiryDate')) %> <%= otdsCommon.replaceHTMLCharacters (usageUnit) %> <%= otdsCommon.replaceHTMLCharacters (license._oTLicenseProduct) %>