aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-07-11 00:05:44 +0100
committerrubenwardy <rw@rubenwardy.com>2020-07-11 00:05:44 +0100
commitadc31962c0fac8c17d2ab59d61e629bf347f5452 (patch)
tree05de8fd46d9c93780dfb110b956283f427fa7eae
parent0e9b8a1a821fe8122ddf7d3c53702e52123136f7 (diff)
downloadcheatdb-adc31962c0fac8c17d2ab59d61e629bf347f5452.tar.xz
Merge padlock symbol with icons in thread lists
-rw-r--r--app/templates/macros/threads.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/templates/macros/threads.html b/app/templates/macros/threads.html
index 4e5c6f2..e4fad7a 100644
--- a/app/templates/macros/threads.html
+++ b/app/templates/macros/threads.html
@@ -72,6 +72,8 @@
<div class="row">
<div class="col-sm">
<span class="mr-3">
+ {% if not t.review and t.private %}
+ <i class="fas fa-lock" style="color:#ffac33;"></i>
{% if not t.review %}
<i class="fas fa-comment-alt" style="color:#666;"></i>
{% elif t.review.recommends %}
@@ -81,12 +83,11 @@
{% endif %}
</span>
- {% if t.private %}&#x1f512; {% endif %}
<strong>{{ t.title }}</strong>
by {{ t.author.display_name }}
</div>
- <div class="col-sm-auto">
+ <div class="col-sm">
{% if t.package %}
{{ _("%(title)s by %(author)s",
title="<b>" | safe + t.package.title + "</b>" | safe,