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

11 lines
276 B
Plaintext

<% define_content :link do -%>
<%= course_url data.course_id %>
<% end -%>
<%=
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
%>