diff options
| author | rubenwardy <rw@rubenwardy.com> | 2020-07-11 00:05:44 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2020-07-11 00:05:44 +0100 |
| commit | adc31962c0fac8c17d2ab59d61e629bf347f5452 (patch) | |
| tree | 05de8fd46d9c93780dfb110b956283f427fa7eae | |
| parent | 0e9b8a1a821fe8122ddf7d3c53702e52123136f7 (diff) | |
| download | cheatdb-adc31962c0fac8c17d2ab59d61e629bf347f5452.tar.xz | |
Merge padlock symbol with icons in thread lists
| -rw-r--r-- | app/templates/macros/threads.html | 5 |
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 %}🔒 {% 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, |
