assignment_changed.email.mustache 458 B

123456789101112131415
  1. <% define_content :link do %>
  2. <%= polymorphic_url([asset.context, asset]) %>
  3. <% end %>
  4. <% define_content :subject do %>
  5. <%= t :subject, "Assignment Changed: %{title}, %{course}", :title => asset.title, :course => asset.context.name %>
  6. <% end %>
  7. <%= t :body, <<-BODY, :title => asset.title, :course => asset.context.name, :url => content(:link)
  8. The assignment "%{title}" for %{course} has changed.
  9. Click here to view the assignment:
  10. %{url}
  11. BODY
  12. %>