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