mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +01:00
14 lines
No EOL
839 B
Text
14 lines
No EOL
839 B
Text
= content_tag :div, [data: image_container_data(@image, :full), class: "image-show-container"] do
|
|
.block.block--fixed.block--warning.block--no-margin.image-filtered.hidden
|
|
strong
|
|
= link("This image is blocked by your current filter - click here to display it anyway", to: "#", data: [click_unfilter: @image.id])
|
|
p
|
|
= img_tag(Routes.static_path(PhilomenaWeb.Endpoint, "/images/tagblocked.svg"), width: 250, height: 250, data: [click_unfilter: @image.id])
|
|
span.filter-explanation
|
|
=< link("your current filter", to: "#", class: "filter-link")
|
|
|
|
#image_target.hidden.image-show data-scaled="true" data-uris=Jason.encode!(thumb_urls(@image, false)) data-width=@image.image_width data-height=@image.image_height
|
|
= if @image.image_mime_type == "video/webm" do
|
|
video controls=true
|
|
- else
|
|
picture |