mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37:59 +01:00
also filter inclusion on dropdown; explicit not found message
This commit is contained in:
parent
c70e2e48d1
commit
a09d0d0a18
2 changed files with 9 additions and 4 deletions
|
@ -35,8 +35,13 @@ elixir:
|
||||||
= pagination
|
= pagination
|
||||||
|
|
||||||
.block__content.js-resizable-media-container
|
.block__content.js-resizable-media-container
|
||||||
|
= if Enum.any?(@galleries) do
|
||||||
= for gallery <- @galleries do
|
= for gallery <- @galleries do
|
||||||
= render PhilomenaWeb.GalleryView, "_gallery.html", gallery: gallery, conn: @conn
|
= render PhilomenaWeb.GalleryView, "_gallery.html", gallery: gallery, conn: @conn
|
||||||
|
|
||||||
|
- else
|
||||||
|
.block.block--fixed.block--no-margin.block--warning
|
||||||
|
' No galleries found!
|
||||||
|
|
||||||
.block__header.block__header--light
|
.block__header.block__header--light
|
||||||
= pagination
|
= pagination
|
|
@ -8,7 +8,7 @@
|
||||||
.block
|
.block
|
||||||
.block__content.add-to-gallery-list
|
.block__content.add-to-gallery-list
|
||||||
.block__list
|
.block__list
|
||||||
a.block__list__link.primary href=Routes.gallery_path(@conn, :index, include_image: @image.id)
|
a.block__list__link.primary href=Routes.gallery_path(@conn, :index, gallery: [include_image: @image.id])
|
||||||
i.fa.fa-table>
|
i.fa.fa-table>
|
||||||
span.hide-mobile Featured in
|
span.hide-mobile Featured in
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue