<% if (!expanded) { %>
<% _.each(versions.slice(0, 10), function(version) { %> <% }); %>
<%- _.__('pim_enrich.entity.product.history.version') %> <%- _.__('pim_enrich.entity.product.history.author') %> <%- _.__('pim_enrich.entity.product.history.logged_at') %>
<%- version.version %> <%- version.author %><%- version.context ? ' (' + version.context + ')' : '' %> <%- version.logged_at %>
<% } else { %>
<% if (hasAction) { %><% } %> <% _.each(versions, function(version) { %> <% if (hasAction) { %><% } %> <% }); %>
<%- _.__('pim_enrich.entity.product.history.version') %> <%- _.__('pim_enrich.entity.product.history.author') %> <%- _.__('pim_enrich.entity.product.history.logged_at') %> <%- _.__('pim_enrich.entity.product.history.modified') %><%- _.__('pim_enrich.entity.product.history.actions') %>
<%- version.version %> <%- version.author %><%- version.context ? ' (' + version.context + ')' : '' %> <%- version.logged_at %> <%- _.keys(version.changeset).join(', ') %>
<% _.each(version.changeset, function(value) { %> <% }); %>
<%- _.__('pim_enrich.entity.product.history.property') %> <%- _.__('pim_enrich.entity.product.history.old_values') %> <%- _.__('pim_enrich.entity.product.history.new_values') %>
<%= value.label %> <%- value.old %> <%- value.new %>
<% } %>