<%# locals: (notification:) %>

<%= link_to( t(".headline"), changeset_path( notification.changeset, :anchor => "c#{notification.comment_id}" ) ) %>

<%= friendly_date_ago(notification.timestamp) %>

<%= link_to( user_thumbnail(notification.commenter, :class => "img-fluid"), user_url(notification.commenter), :target => "_blank", :rel => "noopener" ) %>

<% if notification.changeset_summary %> <%= t( ".description_with_summary_html", :commenter_name_with_link => link_to( notification.commenter.display_name, notification.commenter ), :changeset_id_with_link => link_to("##{notification.changeset_id}", notification.changeset), :changeset_summary => notification.changeset_summary ) %> <% else %> <%= t( ".description_without_summary_html", :commenter_name_with_link => link_to( notification.commenter.display_name, notification.commenter ), :changeset_id_with_link => link_to("##{notification.changeset_id}", notification.changeset) ) %> <% end %>

<%= notification.comment_body.to_html %>