philomena/lib/philomena_web/templates/profile/_recent_images.html.slime

10 lines
371 B
Text
Raw Permalink Normal View History

2019-12-05 05:53:56 +01:00
= if Enum.any?(@images) do
.block
.block__header
span.block__header__title = @title
= if assigns[:view_all_path] do
= link("View all", to: assigns[:view_all_path])
2019-11-12 02:27:09 +01:00
2019-12-05 05:53:56 +01:00
.block__content.js-resizable-media-container
= for image <- @images do
= render PhilomenaWeb.ImageView, "_image_box.html", image: image, size: :thumb, conn: @conn