announcement_reply.email.mustache 911 B

123456789101112131415161718
  1. <% define_content :link do %>
  2. <%= polymorphic_url([asset.context, :discussion_topic], id: asset.discussion_topic_id, anchor: "entry-#{asset.id}") %>
  3. <% end %>
  4. <% define_content :subject do %>
  5. <%= t :subject, "New Comment on Announcement %{discussion_topic}: %{course}", :discussion_topic => asset.title, :course => asset.context.name %>
  6. <% end %>
  7. <%= t :body, "%{user} posted a new comment on the announcement: %{discussion_topic} for %{course}:", :user => asset.user.short_name, :discussion_topic => asset.title, :course => asset.context.name %>
  8. <%= html_to_text(asset.message, :base_url => dashboard_url) %>
  9. <% if IncomingMailProcessor::MailboxAccount.reply_to_enabled %>
  10. <%= t("Comment by replying to this message, or join the conversation using this link: %{link}.", link: content(:link)) %>
  11. <% else %>
  12. <%= t("Join the conversation using this link: %{link}.", link: content(:link)) %>
  13. <% end %>