canvas-lms/app/messages/rubric_association_created....

8 lines
385 B
Plaintext

<% define_content :link do %>
<%= HostUrl.protocol %>://<%= HostUrl.context_host(asset.context) %>/<%= asset.context.class.to_s.downcase.pluralize %>/<%= asset.context_id %>/rubrics/<%= asset.rubric_id %>
<% end %>
<%= t :body, "A new assessment has been created for %{context}:", :context => asset.context.name %>
<br/>
<b><a href="<%= content :link %>"><%= asset.title %></a></b>