2023-11-23 17:07:49 +01:00
|
|
|
.layout--centered-flex
|
2019-08-18 20:14:36 +02:00
|
|
|
= if @image.thumbnails_generated do
|
2023-04-11 03:33:44 +02:00
|
|
|
= render PhilomenaWeb.ImageView, "_image_target.html", embed_display: false, image: @image, conn: @conn
|
2019-08-18 20:14:36 +02:00
|
|
|
- else
|
|
|
|
#thumbnails-not-yet-generated.block.block--fixed.block--warning.layout--narrow
|
2023-11-23 17:07:49 +01:00
|
|
|
h3.heading--warning Just a moment
|
2020-04-10 19:23:23 +02:00
|
|
|
= if @image.image_mime_type == "video/webm" do
|
|
|
|
p WEBM uploads may take longer to process, it should appear in up to an hour (depending on file size and video length).
|
|
|
|
- else
|
|
|
|
p The image should appear in a few minutes; report it otherwise.
|
2019-08-18 20:14:36 +02:00
|
|
|
p Implications might have added tags, so check them in the meanwhile.
|
|
|
|
= if !@image.processed and @image.thumbnails_generated do
|
|
|
|
br
|
|
|
|
#image-being-optimized.block.block--fixed.block--warning.layout--narrow
|
2020-04-10 19:23:23 +02:00
|
|
|
| This image is being processed to optimize the filesize. It should finish shortly.
|