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

9 lines
313 B
Plaintext

<%=
if asset_context.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 => asset_context.user.name)
end
%>
<%= t('more_info', 'More info at %{url}', :url => HostUrl.context_host(asset_context.course)) %>