Add support for post-approval threads

This commit is contained in:
rubenwardy
2018-07-28 15:19:30 +01:00
parent df8d05f09d
commit 909a2b4ce9
4 changed files with 12 additions and 5 deletions

View File

@@ -28,7 +28,7 @@
{% macro render_threadlist(threads) -%}
<ul>
{% for t in threads %}
<li><a href="{{ url_for('thread_page', id=t.id) }}">{{ t.title }}</a> by {{ t.author.display_name }}</li>
<li>{% if t.private %}&#x1f512; {% endif %}<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 %}