mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-11 11:38:01 +01:00
13 lines
394 B
Text
13 lines
394 B
Text
= if Enum.any?(@images) do
|
|
.block
|
|
.block__header
|
|
span = @title
|
|
|
|
.media-list
|
|
= for image <- @images do
|
|
= 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
|