aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-07-13 21:28:08 +0100
committerrubenwardy <rw@rubenwardy.com>2018-07-13 21:28:11 +0100
commit28ee65809e3933ba08826c9ccddcc651f9dd23b1 (patch)
tree80bead9206975576e90559caafb1d8d9fc5af254 /app/templates
parent1b42f3310a8d19145aa1c870794e394851921083 (diff)
downloadcheatdb-28ee65809e3933ba08826c9ccddcc651f9dd23b1.tar.xz
Fix 2 filter_by bugs
Fixes #101
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/macros/threads.html2
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 %}