1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-05 16:24:21 +01:00
fab-manager/app/views/notifications_mailer/notify_admin_abuse_reported.html.erb
2019-05-21 12:38:07 +02:00

11 lines
789 B
Plaintext

<%= render 'notifications_mailer/shared/hello', recipient: @recipient %>
<p><%= t('.body.intro') %></p>
<ul>
<li><%= t('.body.signaled_content') %> <%= link_to "#{@attached_object.signaled_type} #{@attached_object.signaled_id} (#{@attached_object.signaled.name if @attached_object.signaled.name})", "#{root_url}#!/projects/#{@attached_object.signaled_id}" %></li>
<li><%= t('.body.signaled_by') %> <%= @attached_object.first_name %> <%= @attached_object.last_name %> (<%= @attached_object.email %>)</li>
<li><%= t('.body.signaled_on') %> <%= @attached_object.created_at.strftime('%e %B %Y, %H:%M') %></li>
<li><%= t('.body.message') %><br><%= @attached_object.message %></li>
</ul>
<p><%= link_to t('.body.visit_management_interface'), "#{root_url}#!/admin/abuses" %></p>