mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 12:37:58 +01:00
10 lines
No EOL
354 B
Text
10 lines
No EOL
354 B
Text
= cond do
|
|
- Enum.any?(@images) ->
|
|
= render PhilomenaWeb.ImageView, "index.html", conn: @conn, images: @images, route: fn p -> Routes.search_path(@conn, :index, p) end, params: [q: @search_query]
|
|
- assigns[:error] ->
|
|
p
|
|
' Oops, there was an error evaluating your query:
|
|
pre = assigns[:error]
|
|
- true ->
|
|
p
|
|
' No images found! |