% presenter = Messages::SubmissionCommentForTeacher::EmailPresenter.new(self) %> <% define_content :link do %> <%= presenter.link.html_safe %> <% end %> <% define_content :subject do %> <%= presenter.subject %> <% end %> <% define_content :footer_link do %> <%= t "Click here to review the submission" %> <% end %>
<%= presenter.body %>
<%= format_message(presenter.comment_text).first %> <% unless presenter.anonymous? %> <% if avatar_enabled? %>
|
<%= author_short_name%>
<%= author_email_address%>
<%= t "This message includes media comments. To listen or reply, click the link below:" %>
<% else %><%= t "You can review the submission details by clicking the link below:" %>
<% end %> <% unless presenter.attachments.empty? %><%= t "Attached Files:" %>