2019-09-09 09:31:08 +02:00
|
|
|
<h1><%= gettext "New report from %{reporter} on %{instance}", reporter: @report.reporter.preferred_username, instance: @instance %></h1>
|
2019-07-23 13:49:22 +02:00
|
|
|
|
|
|
|
<% if @report.event do %>
|
2019-09-09 09:31:08 +02:00
|
|
|
<p><%= gettext "Event: %{event}", event: @report.event.title %></p>
|
2019-07-23 13:49:22 +02:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= for comment <- @report.comments do %>
|
|
|
|
<p><%= gettext "Comment: %{comment}", comment: comment %></p>
|
|
|
|
<% end %>
|
|
|
|
|
2019-09-09 09:31:08 +02:00
|
|
|
<% if @report.content do %>
|
2019-07-23 13:49:22 +02:00
|
|
|
<p><%= gettext "Reason: %{content}", event: @report.content %></p>
|
|
|
|
<% end %>
|
|
|
|
|
2019-09-09 09:31:08 +02:00
|
|
|
<p><%= link "View the report", to: moderation_report_url(MobilizonWeb.Endpoint, :index, @report.id), target: "_blank" %></p>
|