<% if (attributes.length > 0) { %> <% _.each(attributes, function(attribute) { %> <% }); %> <% } %>
Name<%- name %>
Management IP<%- mgmtAddress.ip %>
Management Domain<%- mgmtDomain.name %>
Status<%- status %>
Location<%- location %>
Contact<%- contact %>
Network Class<%- networkClass %>
Device Type<%- realDeviceType %>
Family<%- family %>
Software Version<%- softwareVersion %>
Serial Number<%- serialNumber %>
Creation Date <%- $.formatDateTime('dd/mm/y hh:ii', new Date(createdDate)) %> <% if (typeof creator === "string" && creator.length > 0) { %> (added by <%- creator %>)<% } %>
Last Change<%- $.formatDateTime('dd/mm/y hh:ii', new Date(changeDate)) %>
Comments
<%= $('
').text(comments).html().replace(/\r?\n/g,"
") %>
<%- attribute.title %> <% if (attribute.type == "INTEGER" && typeof attribute.number != "undefined") { %><%- attribute.number %><% } %> <% if (attribute.type == "TEXT" && typeof attribute.text != "undefined") { %><%- attribute.text %><% } %> <% if (attribute.type == "BINARY") { if (attribute.assumption === true) { %>Yes<% } else { %>No<% } } %>
Member of
<% _.each(ownerGroups, function(group) { %><%- group.name %>
<% }); %>