mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27: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
|
||||
|
||||
.block__content.js-resizable-media-container
|
||||
= for gallery <- @galleries do
|
||||
= render PhilomenaWeb.GalleryView, "_gallery.html", gallery: gallery, conn: @conn
|
||||
= if Enum.any?(@galleries) do
|
||||
= for gallery <- @galleries do
|
||||
= 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
|
||||
= pagination
|
||||
= pagination
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
.block
|
||||
.block__content.add-to-gallery-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>
|
||||
span.hide-mobile Featured in
|
||||
|
||||
|
|
Loading…
Reference in a new issue