8 lines
282 B
Plaintext
8 lines
282 B
Plaintext
<% define_content :link do %>
|
|
<%= polymorphic_url([asset.context, :file], id: asset) %>
|
|
<% end %>
|
|
<%= t 'New file added for %{name}', :name => asset.context.name %>
|
|
<%= asset.title %> (<%= asset.readable_size %>)
|
|
|
|
<%= t('link', 'More info at %{link}', :link => content(:link)) %>
|