engine/app/views/locomotive/notifications/new_content_instance.html.haml

22 lines
527 B
Plaintext

%p= t('.title', :name => @account.name, :date => I18n.l(Time.now), :locale => @account.locale)
%hr
%p
%b= t('.type', :type => @content.content_type.name, :locale => @account.locale)
%br
%i= @content.content_type.description
%hr
%ul
- @content.custom_fields.each do |field|
%li
%strong= field.label
 - 
%i
- if field.file?
= link_to File.basename(@content.send(field._name).url), @content.send(field._name).url
- else
= @content.send(field._alias)