19 lines
762 B
Plaintext
19 lines
762 B
Plaintext
<% define_content :link do %>
|
|
<%= polymorphic_url([asset.assignment.context, asset.assignment]) %>
|
|
<% end %>
|
|
|
|
<% define_content :subject do %>
|
|
<%= t('subject', 'Late Assignment: %{group_name}, %{assignment_name}', :group_name => asset.group.name, :assignment_name => asset.assignment.title) %>
|
|
<% end %>
|
|
|
|
<% define_content :footer_link do %>
|
|
<a href="<%= content(:link) %>">
|
|
<%= t :view_submission_here, 'You can view the submission here' %>
|
|
</a>
|
|
<% end %>
|
|
|
|
<p><%= t('body', "The group %{group_name} has just turned in a late submission for %{assignment_name} in the course %{course_name}.",
|
|
:group_name => asset.group.name,
|
|
:assignment_name => asset.assignment.title,
|
|
:course_name => asset.assignment.context.name) %></p>
|