% content_for :notification_content, flush: true do %>
<%= notification.notifier.present? ? notification.notifier.printable_notifier_name : 'Someone' %>
notified you of
<% if notification.notifiable.present? %>
<%= notification.notifiable.printable_notifiable_name(notification.target) %>
<%= "in #{notification.group.printable_group_name}" if notification.group.present? %>
<% else %>
<%= " a #{notification.notifiable_type.humanize.singularize.downcase}" %>
<%= "in #{notification.group.printable_group_name}" if notification.group.present? %>
but the notifiable is not found. It may have been deleted.
<% end %>
<%= notification.created_at.strftime("%b %d %H:%M") %>
Open