diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-07-28 15:19:30 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-07-28 15:19:30 +0100 |
| commit | 909a2b4ce9ffd325fff06cc26d996c19ca117aa6 (patch) | |
| tree | d830c632731c358f662c75b5efb45fc04fcb7423 /app/templates/macros/threads.html | |
| parent | df8d05f09d3dd7dacdb401661ea60706d2f21779 (diff) | |
| download | cheatdb-909a2b4ce9ffd325fff06cc26d996c19ca117aa6.tar.xz | |
Add support for post-approval threads
Diffstat (limited to 'app/templates/macros/threads.html')
| -rw-r--r-- | app/templates/macros/threads.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/templates/macros/threads.html b/app/templates/macros/threads.html index 023059a..cdb6b4f 100644 --- a/app/templates/macros/threads.html +++ b/app/templates/macros/threads.html @@ -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 %}🔒 {% 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 %} |
