canvas-lms/app/messages/upcoming_assignment_alert.s...

8 lines
356 B
Plaintext

<% define_content :link do %>
<%= polymorphic_url([asset.context, asset]) %>
<% end %>
<%= I18n.t("Your assignment %{assignment_name} is due on %{due_at}. Click the following link to visit your assignment and get it in on time:",
assignment_name: asset.title, due_at: datetime_string(force_zone(data.assignment_due_date))) %>
<%= content :link %>