mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
9 lines
No EOL
379 B
Text
9 lines
No EOL
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 |