8 lines
673 B
Plaintext
8 lines
673 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 :tweet, "Canvas Alert - Grade Change: %{date}", :date => (datetime_string(force_zone(asset.graded_at)) rescue t(:no_date_set, "No Date Set")) %>
|
|
<% if asset.score %><%= t :score, "score: %{score} out of %{total}", :score => asset.score, :total => (asset.assignment.points_possible || t(:not_applicable, "N/A")) %><% end %>
|
|
<%= t(:score_pending, "(pending review)") if asset.pending_review? %>
|
|
|