><%= discussion.name %>

<%= course.fullname %>

<% _.each(posts, function (post, idx) { %>
<% if (post.isTeacher) { %> Teacher <% } %>

<%= post.firstname %> <%= post.lastname %>

<% print(str.format_time(new Date(post.created * 1000))) %>

<%= post.message %>

<% _.each(post.attachments, function (attach) { if (attach.mimetype.substr(0, 5) == "image") { %> <% }}); %> <% _.each(post.attachments, function (attach) { if (attach.mimetype.substr(0, 5) != "image") { %>
<% }}); %>
<% }); %>

Reply