<%- tag.textValue %>
<% if (tag.canRemove) { %>
-
<% } %>
<% if (tag.links && !isInherited) { %>
Can remove Tag from <%- tag.canRemoveCount %> object<% if(tag.canRemoveCount !== 1) {print('s')} %>
<% } %>
Annotation ID: <%- tag.id %>
Owner: <%- tag.owner.firstName %> <%- tag.owner.lastName %>
<% if (tag.links) { %>
Linked to:
<% _.each(tag.links, function(link, idx) { %>
 
<% if (idx < 20) { %>
<%- link.parent.class %> <%- link.parent.id %>: <%- link.parent.name.slice(0, 28) %>
<% if (link.owner.id !== userId) {
print("(" + link.owner.firstName.slice(0, 1) + " " + _.escape(link.owner.lastName) + ")")
} %>
<% } else if (idx === 20) { %>
and <% print(tag.links.length - 20) %> other objects...
<% } %>
<% }) %>
<% } else if (isInherited) { %>
Linked to: <% print(_.escape(tag.link.parent.name).slice(0, 28)) %>
<% } else { %>
Linked by: <%- tag.link.owner.firstName %> <%- tag.link.owner.lastName %>
On: <% print(OME.formatDate(tag.link.date)) %>
<% } %>
Tagset: PLACEHOLDER_TAGSET
Description: <%- tag.description %>
<% if (isInherited && tag.links) { %>
Inherited by:
<% _.each(tag.childNames, function(cname) { %>
  <%- cname.slice(0, 28) %>
<% }) %>
<% } %>