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

9 lines
363 B
Text
Raw Permalink Normal View History

2019-12-05 05:53:56 +01:00
= if Enum.any?(@galleries) do
.block
.block__header
span.block__header__title Recent Galleries
= link "View all", to: ~p"/galleries?#{[gallery: [creator: @user.name]]}"
2019-12-05 05:53:56 +01:00
.block__content.js-resizable-media-container
= for gallery <- @galleries do
= render PhilomenaWeb.GalleryView, "_gallery.html", gallery: gallery, conn: @conn