diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-07-13 21:28:08 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-07-13 21:28:11 +0100 |
| commit | 28ee65809e3933ba08826c9ccddcc651f9dd23b1 (patch) | |
| tree | 80bead9206975576e90559caafb1d8d9fc5af254 /app/templates | |
| parent | 1b42f3310a8d19145aa1c870794e394851921083 (diff) | |
| download | cheatdb-28ee65809e3933ba08826c9ccddcc651f9dd23b1.tar.xz | |
Fix 2 filter_by bugs
Fixes #101
Diffstat (limited to 'app/templates')
| -rw-r--r-- | app/templates/macros/threads.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/templates/macros/threads.html b/app/templates/macros/threads.html index b74edda..6552f2a 100644 --- a/app/templates/macros/threads.html +++ b/app/templates/macros/threads.html @@ -29,6 +29,8 @@ <ul> {% for t in threads %} <li><a href="{{ url_for('thread_page', id=t.id) }}">{{ t.title }}</a> by {{ t.author.display_name }}</li> + {% else %} + <li><i>No threads found</i></li> {% endfor %} </ul> {% endmacro %} |
