assignment_graded.email.html.mustache 571 B

12345678910111213141516
  1. <% define_content :link do %>
  2. <%= polymorphic_url([asset.context, asset]) %>
  3. <% end %>
  4. <% define_content :subject do %>
  5. <%= t('assignment_graded', 'Assignment Graded: %{assignment_name}, %{course_name}', :assignment_name => asset.title, :course_name => asset.context.name) %>
  6. <% end %>
  7. <% define_content :footer_link do %>
  8. <a href="<%= content(:link) %>">
  9. <%= t :link, "Click here to view the assignment" %>
  10. </a>
  11. <% end %>
  12. <p><%= t('the_assignment_is_graded', 'The assignment, %{assignment_name}, has been graded.', :assignment_name => asset.title) %></p>