mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 23:08:00 +01:00
9 lines
326 B
Text
9 lines
326 B
Text
= if Enum.any?(@galleries) do
|
|
.block
|
|
.block__header
|
|
span Recent Galleries
|
|
= link "View all", to: Routes.gallery_path(@conn, :index, gallery: [creator: @user.name])
|
|
|
|
.media-list
|
|
= for gallery <- @galleries do
|
|
= render PhilomenaWeb.GalleryView, "_gallery.html", gallery: gallery, conn: @conn
|