canvas-lms/app/messages/assignment_resubmitted.twit...

5 lines
441 B
Plaintext

<% define_content :link do %>
http://<%= HostUrl.context_host(asset.assignment.context) %>/<%= asset.assignment.context.class.to_s.downcase.pluralize %>/<%= asset.assignment.context_id %>/assignments/<%= asset.assignment_id %>/submissions/<%= asset.user_id %>
<% end %>
<%= t('user_resubmitted', 'Canvas Alert - Resubmission: %{user_name}, %{assignment_name}', :user_name => asset.user.name, :assignment_name => asset.assignment.title) %>