20 lines
778 B
Plaintext
20 lines
778 B
Plaintext
<% define_content :link do %>
|
|
<%= polymorphic_url([asset.context, asset]) %>
|
|
<% end %>
|
|
|
|
<% define_content :subject do %>
|
|
<%= t('assignment_due_date_changed', 'Assignment Due Date Changed: %{assignment_name}, %{course_name}', :assignment_name => asset.title, :course_name => asset.context.name) %>
|
|
<% end %>
|
|
|
|
<%= t('assignment_due_date_changed_sentence', 'The due date for the assignment, %{assignment_name}, for the course, %{course_name}, has changed to:', :assignment_name => asset.title, :course_name => asset.context.name) %>
|
|
|
|
<% if asset.due_at %>
|
|
<%= datetime_string(force_zone(asset.due_at)) %>
|
|
<% else %>
|
|
<%= t('no_due_date', 'No Due Date') %>
|
|
<% end %>
|
|
|
|
|
|
<%= before_label('click_to_see_assignment', 'Click here to view the assignment') %>
|
|
<%= content :link %>
|