% var reprValue = function(value) { if (typeof(value) === 'string' || value instanceof String) { return value; } return JSON.stringify(value); }; %>
<%= formatRelativeTime(historyEntry.time) %> |
<% var userName = historyEntry.user && historyEntry.user.name || '' %>
<% if (userName) { %>
<% } %>
|
<% if (historyEntry.type == 0) { %> @<%= historyEntry.primaryKey %> <% } else { %> ? <% } %> |
<% if (historyEntry.operation == 1) { %>
deleted
<% } else { %>
changed
<% if (historyEntry.dataDifference) { %>
|