diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-04-14T20·30+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-04-14T20·33+0200 |
commit | 8057b8849e1f4e53d0731c75da16bfdbc32fc602 (patch) | |
tree | 33b7109ce177f2973ecdd9a8d0bcc8b40923b296 /templates/index.html | |
parent | 06f7f23bab2113ba80f8fa863c8281a585ef822e (diff) |
feat(templates): Add 'sticky' badge to sticky threads
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index 263c8828a038..d4daa216c293 100644 --- a/templates/index.html +++ b/templates/index.html @@ -28,7 +28,7 @@ {% for thread in threads -%} <a href="/thread/{{ thread.id }}" class="list-group-item list-group-item-action flex-column align-items-start {% if thread.sticky %} bg-secondary text-white {% endif %}"> <div class="d-flex w-100 justify-content-between"> - <h5 class="mb-1">{{ thread.title }}</h5> + <h5 class="mb-1">{% if thread.sticky %}<span class="badge badge-light">Sticky</span> {% endif %}{{ thread.title }}</h5> <small class="{%if thread.sticky %}text-white{% else %}text-muted{% endif %}">{{ thread.posted }}</small> </div> <p class="mb-1">Created by {{ thread.author_name }}</p> |