mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-18 06:57:59 +01:00
9 lines
379 B
Text
9 lines
379 B
Text
|
= if Enum.any?(@galleries) do
|
||
|
.block
|
||
|
.block__header
|
||
|
span.block__header__title Recent Galleries
|
||
|
= link "View all", to: Routes.gallery_path(@conn, :index, gallery: [creator: @user.name])
|
||
|
|
||
|
.block__content.js-resizable-media-container
|
||
|
= for gallery <- @galleries do
|
||
|
= render PhilomenaWeb.GalleryView, "_gallery.html", gallery: gallery, conn: @conn
|