<%= trans.hdrSendMessage %> i
<%= trans.hdrMessagesSent %>
<%} %> <% var pagecount = 0; %> <% var displaypage = 0 ;%>
<% _.each(messages, function(record) { %>
<% if(pagecount % 5 == 0) { %>
<% displaypage = displaypage + 1; %>
<% var messagecount = 0; %>
<% var block = 1; %>
<% } %>
<% pagecount = pagecount + 1; %>
<% }); %>
<% _.each(messages, function(record) { %>
<% messagecount = messagecount + 1; %>
<% if(messagecount % 5 == 0) { %>
<% block = block + 1; %>
<% if(pagecount != block) { %>
<%= trans.lblScheduleDate %>: <%= record.ScheduledDate %>
<%= trans.lblMessageTopic %>: <% if(record.IsVIM == 'True') {%> <% } %> <%= record.MessageSubject %> <% if(record.IsVIM == 'True') {%> <% } %>
<%= record.MessageDescription %>