philomena/lib/philomena_web/templates/gallery/_gallery.html.slime

11 lines
379 B
Text
Raw Permalink Normal View History

- link = ~p"/galleries/#{@gallery}"
2019-11-18 06:05:42 +01:00
2019-11-18 05:47:09 +01:00
.media-box
2019-11-18 06:05:42 +01:00
a.media-box__header.media-box__header--link href=link title=@gallery.title
2019-11-18 05:47:09 +01:00
= @gallery.title
.media-box__overlay
= @gallery.spoiler_warning
.media-box__content.media-box__content--large
2019-11-18 06:05:42 +01:00
= render PhilomenaWeb.ImageView, "_image_container.html", image: @gallery.thumbnail, size: :thumb, conn: @conn, link: link