mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-23 16:33:28 +00:00
3263a84c51
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
17 lines
634 B
Elixir
17 lines
634 B
Elixir
<%= gettext "New report from %{reporter} on %{instance}", reporter: @report.reporter.preferred_username, instance: @instance[:name] %>
|
|
--
|
|
<%= if Map.has_key?(@report, :event) do %>
|
|
<%= gettext "Event" %>
|
|
<%= @report.event.title %>
|
|
<% end %>
|
|
<%= if Map.has_key?(@report, :comments) && length(@report.comments) > 0 do %>
|
|
<%= gettext "Comments" %>
|
|
<%= for comment <- @report.comments do %>
|
|
<%= comment.text %>
|
|
<% end %>
|
|
<% end %>
|
|
<%= if @report.content do %>
|
|
<%= gettext "Reason" %>
|
|
<%= @report.content %>
|
|
<% end %>
|
|
<%= gettext "View report:" %> <%= moderation_report_url(Mobilizon.Web.Endpoint, :index, @report.id) %>
|