philomena/lib/philomena_web/templates/image/deleted.html.slime

41 lines
1.4 KiB
Text
Raw Permalink Normal View History

2019-12-09 05:41:35 +01:00
= if @image.duplicate_id do
.walloftext
.block.block--fixed.block--warning
h1 This image has been merged into another image
p
' This image was merged into image
=> link "##{@image.duplicate_id}", to: ~p"/images/#{@image.duplicate_id}"
2019-12-09 05:41:35 +01:00
' because it was determined to be a duplicate of that image.
2019-12-07 17:48:39 +01:00
2019-12-09 05:41:35 +01:00
- else
.walloftext
.block.block--fixed.block--warning
h1 This image has been deleted
2019-12-07 17:48:39 +01:00
p
2019-12-09 05:41:35 +01:00
' Reason:
strong
= @image.deletion_reason || "Unknown (likely deleted in error). Please contact a moderator."
= if can?(@conn, :hide, @image) do
p
strong> Spoilers!
' Done by:
strong = deleter(@image)
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
' 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.
2019-12-08 05:53:18 +01:00
= if can?(@conn, :hide, @image) do
= render PhilomenaWeb.ImageView, "show.html", assigns
- else
p
strong Tags:
= render PhilomenaWeb.TagView, "_tag_list.html", tags: display_order(@image.tags), conn: @conn