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

14 lines
394 B
Text
Raw Normal View History

2019-12-05 05:53:56 +01:00
= if Enum.any?(@images) do
.block
.block__header
2023-11-23 17:07:49 +01:00
span = @title
2019-11-12 02:27:09 +01:00
2023-11-23 17:07:49 +01:00
.media-list
2019-12-05 05:53:56 +01:00
= for image <- @images do
2023-11-23 17:07:49 +01:00
= render PhilomenaWeb.ImageView, "_image_box.html", image: image, size: :thumb, conn: @conn
= if assigns[:view_all_path] do
hr.separator.separator--secondary
a.button href=assigns[:view_all_path]
i.fa.fa-eye>
| View all