<% define_content :link do -%>
  <%= polymorphic_url([asset.context, asset]) %>
<% end -%>
<%= t('assignment_change', 'Canvas Alert - Date Change: %{assignment_name}, %{course_name}', :assignment_name => asset.title, :course_name => asset.context.name) %>

<% if asset.due_at -%>
<%= t('due_at', 'due: %{assignment_due_date_time}', :assignment_due_date_time => datetime_string(force_zone(asset.due_at))) %>
<% else -%>
<%= t('no_due_date', 'due: No Due Date') %>
<% end -%>

