<% if (obj.group_name) { %> <%- interpolate( gettext('This post is visible only to %(group_name)s.'), {group_name: obj.group_name}, true ) %> <% } else { %> <%- gettext('This post is visible to everyone.') %> <% } %>

<%- title %>

<% var timeAgoHtml = interpolate( '%(created_at)s', {created_at: created_at}, true ); %> <%= interpolate( // Translators: post_type describes the kind of post this is (e.g. "question" or "discussion"); // time_ago is how much time has passed since the post was created (e.g. "4 hours ago") _.escape(gettext('%(post_type)s posted %(time_ago)s by %(author)s')), {post_type: thread_type, time_ago: timeAgoHtml, author: author_display}, true ) %>

<%= _.template( $('#forum-actions').html(), { contentId: cid, contentType: 'post', primaryActions: ['vote', 'follow'], secondaryActions: ['pin', 'edit', 'delete', 'report', 'close'] } ) %>
<%- body %>
<% if (mode == "tab" && obj.courseware_url) { %> <% var courseware_title_linked = interpolate( '%(courseware_title)s', {courseware_url: courseware_url, courseware_title: _.escape(courseware_title)}, true ); %>
<%= interpolate( _.escape(gettext('Related to: %(courseware_title_linked)s')), {courseware_title_linked: courseware_title_linked}, true ) %>
<% } %>