canvas-lms/app/messages/grade_weight_changed.twitte...

5 lines
347 B
Plaintext

<% course = asset.is_a?(Course) ? asset : asset.context -%>
<% define_content :link do -%>
<%= HostUrl.protocol %>://<%= HostUrl.context_host(asset) %>/<%= course.class.to_s.downcase.pluralize %>/<%= course.id %>/assignments
<% end -%>
<%= t('grade_changed', "Canvas Alert - Grading Policy Changed: %{course_name}", :course_name => course.name) %>