canvas-lms/app/messages/alert.sms.erb

10 lines
283 B
Plaintext

<%=
if data.user_id == user.id
t('body_student', "An alert has been triggered for you")
else
t('body', "An alert has been triggered for %{student}", :student => data.student_name)
end
%>
<%= t('more_info', 'More info at %{url}', :url => course_url(data.course_id)) %>