mirror of
https://git.wownero.com/wownero/YellWOWPages.git
synced 2024-08-15 01:03:25 +00:00
no search results message
This commit is contained in:
parent
f809ebb70c
commit
3633cfe697
2 changed files with 3 additions and 1 deletions
|
@ -59,6 +59,8 @@ async def search():
|
|||
users = [u for u in await User.search(needle)]
|
||||
if users:
|
||||
return await render_template('search_results.html', users=users)
|
||||
else:
|
||||
return await render_template('search_results.html')
|
||||
|
||||
users = [u for u in User.select()]
|
||||
return await render_template('search.html', users=users)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
Result(s): {{users|length}}
|
||||
|
||||
{% if not users %}
|
||||
Nothing found...
|
||||
<br>Nothing found...
|
||||
{% else %}
|
||||
<div id="addresses">
|
||||
{% for user in users %}
|
||||
|
|
Loading…
Reference in a new issue