mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
40 lines
1.4 KiB
Text
40 lines
1.4 KiB
Text
= 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: Routes.image_path(@conn, :show, @image.duplicate_id)
|
|
' because it was determined to be a duplicate of that image.
|
|
|
|
- else
|
|
.walloftext
|
|
.block.block--fixed.block--warning
|
|
h1 This image has been deleted
|
|
p
|
|
' 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.
|
|
|
|
= 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
|