<%# locals: (notification:, record:) %>

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

<%= friendly_date_ago(record.created_at) %>

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

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

<%= record.body.to_html %>