canvas-lms/app/messages/rubric_assessment_invitatio...

6 lines
531 B
Plaintext

<% define_content :link do %>
http://<%= HostUrl.context_host(asset.rubric_association.context) %>/<%= asset.rubric_association.context.class.to_s.downcase.pluralize %>/<%= asset.rubric_association.context_id %>/rubric_associations/<%= asset.rubric_association_id %>/assessments/<%= asset.uuid %>
<% end %>
<%= t :body, "You've been invited by %{user} to assess their submission for *%{rubric}*.", :user => asset.user.name, :wrapper => "<b><a href=\"#{content :link}\">\\1</a></b>", :rubric => asset.rubric_association.title %>