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

14 lines
469 B
Plaintext

<% define_content :link do %>
<%= polymorphic_url([asset.context, :files]) %>
<% end %>
<% define_content :subject do %>
<%= t('subject', '%{count} new files added for the course, %{name}:',
:count => data.count,
:name => asset.context.name) %>
<% end %>
<%= t('body', '%{count} new files added for %{name}.',
:count => data.count,
:name => asset.context.name) %>
<%= t 'link', 'You can view them here' %>
<%= content :link %>