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

13 lines
641 B
Text
Raw Normal View History

2019-08-18 20:14:36 +02:00
.center--layout--flex
= if @image.thumbnails_generated do
2019-12-06 18:12:55 +01:00
= render PhilomenaWeb.ImageView, "_image_target.html", image: @image, conn: @conn
2019-08-18 20:14:36 +02:00
- else
#thumbnails-not-yet-generated.block.block--fixed.block--warning.layout--narrow
h3 Just a moment
p The image should appear in a few minutes; report it otherwise.
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
| This image is being processed to optimize the filesize. It should finish shortly.