app/views/locomotive/notifications/new_content_entry.html.slim in locomotivecms-3.0.0.rc1 vs app/views/locomotive/notifications/new_content_entry.html.slim in locomotivecms-3.0.0.rc2

- old
+ new

@@ -13,19 +13,23 @@ li strong= field.label | &nbsp;-&nbsp; i - case field.type.to_s + - when 'text' + = raw(value.gsub(/(\r\n|\r|\n)/, '<br/>')) - when 'file' - url = value.guess_url - url = url =~ /^http/ ? url : URI.join("http://#{@domain}", url).to_s # Amazon S3 (http/https) or local files ? = link_to File.basename(url), url - when 'select' = value - when 'belongs_to' = value.try(:_label) - when 'has_many', 'many_to_many' = value.map(&:_label).join(', ') + - when 'time', 'date_time' + = I18n.l(value.in_time_zone(@site.timezone)) - when 'tags' = value.join(', ') - else = value