<% var counter = 0; versions.forEach(function(item) { %> <% } else { %> <% } %> <% counter += 1; }); %>
<%- t('Updated') %> <%- t('Title') %> <%- t('Status') %> <%- t('Author') %> <%- t('New Version') %> <%- t('Comment') %> A B
<%- item.get('updated') %> <%- item.get('title') %> <%- item.get('status') %> <%- item.get('author') %> <%- item.get('version') %> <%- item.get('comment') %> <% if(counter === 0) { %> <% if(counter === 1) { %> <% } if(counter > 1) { %> <% } %>