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

18 lines
601 B
Plaintext

<% define_content :link do %>
<%= polymorphic_url([asset.context, :rubric], id: asset.rubric_id) %>
<% end %>
<% define_content :subject do %>
<%= t :subject, "New Assessment: %{title}, %{context}", :title => asset.title, :context => asset.context.name %>
<% end %>
<% define_content :footer_link do %>
<a href="<%= content(:link) %>">
<%= t :link_message, "Click here to review the assessment and submit your entry" %>
</a>
<% end %>
<p><%= t :body, "A new assessment has been created for %{context}:", :context => asset.context.name %></p>
<p><strong><%= asset.title %></strong></p>