canvas-lms/app/messages/new_file_added.summary.erb

11 lines
344 B
Plaintext

<% define_content :link do %>
http://<%= HostUrl.context_host(asset.context) %>/<%= asset.context.class.to_s.downcase.pluralize %>/<%= asset.context_id %>/files/<%= asset.id %>
<% end %>
<% define_content :subject do %>
New File Added: <%= asset.title %>, <%= asset.context.name %>
<% end %>
<%= asset.title %>
<%= asset.readable_size %>