19 lines
1.1 KiB
Plaintext
19 lines
1.1 KiB
Plaintext
<% define_content :link do %>
|
|
<%= polymorphic_url([asset.context, :discussion_topic], id: asset.discussion_entry.discussion_topic_id, anchor: "entry-#{asset.discussion_entry_id}") %>
|
|
<% end %>
|
|
|
|
<% define_content :subject do %>
|
|
<%= t :subject, "%{user} mentioned you in %{discussion_topic}, %{course}", discussion_topic: asset.discussion_topic.title, course: asset.context.name, :user => asset.discussion_entry.user.short_name %>
|
|
<% end %>
|
|
|
|
<%= t :body, "%{user} mentioned you in %{discussion_topic}, %{course}:", :user => asset.discussion_entry.user.short_name, :discussion_topic => asset.discussion_topic.title, :course => asset.context.name %>
|
|
|
|
<%= html_to_text(asset.message, :base_url => dashboard_url) %>
|
|
|
|
<% if IncomingMailProcessor::MailboxAccount.reply_to_enabled %>
|
|
<%= t("Comment by replying to this message, or join the conversation using this link: %{link}. When allowed, if you need to include an attachment, please log in to Canvas and reply to the discussion.", link: content(:link)) %>
|
|
<% else %>
|
|
<%= t("Join the conversation using this link: %{link}.", link: content(:link)) %>
|
|
<% end %>
|
|
|