mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-28 05:57:58 +01:00
61 lines
1.7 KiB
Text
61 lines
1.7 KiB
Text
<%= if @image.duplicate_id do %>
|
|
<div class="walloftext">
|
|
<div class="block block--fixed block--warning">
|
|
<h1>
|
|
This image has been merged into another image
|
|
</h1>
|
|
<p>
|
|
This image was merged into image
|
|
<%= link("##{@image.duplicate_id}", to: ~p"/images/#{@image.duplicate_id}") %>
|
|
because it was determined to be a duplicate of that image.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<% else %>
|
|
<div class="walloftext">
|
|
<div class="block block--fixed block--warning">
|
|
<h1>
|
|
This image has been deleted
|
|
</h1>
|
|
<p>
|
|
Reason:
|
|
<strong>
|
|
<%= @image.deletion_reason || "Unknown (likely deleted in error). Please contact a moderator." %>
|
|
</strong>
|
|
</p>
|
|
<%= if can?(@conn, :hide, @image) do %>
|
|
<p>
|
|
<strong>
|
|
Spoilers!
|
|
</strong>
|
|
Done by:
|
|
<strong>
|
|
<%= deleter(@image) %>
|
|
</strong>
|
|
</p>
|
|
<% end %>
|
|
</div>
|
|
<p>
|
|
If you originally uploaded the file previously located here, please don't re-upload it -
|
|
<%= link("contact us", to: "/pages/contact") %>
|
|
if you feel this was in error and we'll talk! We're only human, and mistakes happen.
|
|
</p>
|
|
<p>
|
|
Here's the
|
|
<%= link("tagging guidelines", to: "/pages/tags") %>
|
|
and
|
|
<%= link("rules of the site", to: "/pages/rules") %>
|
|
. Other useful links can be found at the bottom of the page.
|
|
</p>
|
|
</div>
|
|
<% end %>
|
|
<%= if can?(@conn, :hide, @image) do %>
|
|
<%= render(PhilomenaWeb.ImageView, "show.html", assigns) %>
|
|
<% else %>
|
|
<p>
|
|
<strong>
|
|
Tags:
|
|
</strong>
|
|
</p>
|
|
<%= render(PhilomenaWeb.TagView, "_tag_list.html", tags: display_order(@image.tags), conn: @conn) %>
|
|
<% end %>
|