%li.no-padding.cf
  - if notification.notification_type == "profile_comment"
    %a.single-notification.large-12.columns{href: user_path(current_user), class: ('new' unless notification.seen?)}
      .large-1.columns.no-padding.avatar
        = image_tag notification.source.target.avatar.url(:thumb_small)
      .large-11.columns.status-info
        %strong= notification.source.target.name
        wrote a comment on your profile.
        %p.time-ago
          = distance_of_time_in_words_to_now notification.created_at
          ago


%li.no-padding.cf
  - if notification.notification_type == "profile_comment"
    %a.single-notification.large-12.columns{href: main_app.user_path(current_user), class: ('new' unless notification.seen?)}
      .large-1.columns.no-padding.avatar
        = image_tag notification.source.target.avatar.url(:thumb_small)
      .large-11.columns.status-info
        %strong= notification.source.target.name
        wrote a comment on your profile.
        %p.time-ago
          = distance_of_time_in_words_to_now notification.created_at
          ago


Fix Forem 500 error caused by notification partial.
Fix Forem 500 error caused by notification partial.

Conflicts:

	app/views/notifications/_notification.html.haml
