canvas-lms/app/messages/assignment_unmuted.email.erb

16 lines
622 B
Plaintext

<% define_content :link do %>
<%= HostUrl.protocol %>://<%= HostUrl.context_host(asset.context) %>/<%= asset.context.class.to_s.downcase.pluralize %>/<%= asset.context_id %>/assignments/<%= asset.id %>
<% end %>
<% define_content :subject do %>
<%= t :subject, "Assignment Unmuted: %{title}, %{course}", :title => asset.title, :course => asset.context.name %>
<% end %>
<%= t :body, <<-BODY, :title => asset.title, :course => asset.context.name, :url => content(:link)
Your instructor has released grade changes and new comments for %{title}. These changes are now viewable.
Your can view it here:
%{url}
BODY
%>