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

7 lines
285 B
Plaintext

<% define_content :link do -%>
<%= polymorphic_url([asset.context, :file], id: asset) %>
<% end -%>
<%= t('body', 'Canvas Alert - New File: %{title} (%{size}) for %{name}:',
:title => asset.title,
:size => asset.readable_size,
:name => asset.context.name) %>