1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/views/notifications_mailer/notify_admin_abuse_reported.html.erb

11 lines
789 B
Plaintext
Raw Normal View History

2016-03-23 18:39:41 +01:00
<%= 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>