about summary refs log tree commit diff
path: root/templates
diff options
context:
space:
mode:
authorTatriX <tatrics@gmail.com>2018-04-16T13·56+0300
committerVincent Ambo <github@tazj.in>2018-04-16T14·26+0200
commitee855d8b6748cc9c22a6dc4cb2bd5f1b7e44e346 (patch)
tree7ddf9876f4ef5ce6007fbdeca938514d53f9b8fd /templates
parent09a97d46ea8ecb6b94e4576cf9776d6348d5c924 (diff)
feat(templates): Add 'Last post by' to the list of threads
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html
index c8c72d9d2e87..024d0aef534d 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -31,7 +31,10 @@
                 <h5 class="mb-1">{% if thread.sticky %}<span class="badge badge-light">Sticky</span> {% endif %}{{ thread.title | safe }}</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>
+              <div class="d-flex justify-content-between">
+                <p class="mb-1">Created by {{ thread.author_name }}</p>
+                <small>Last post by {{ thread.post_author }}</small>
+              </div>
             </a>
             {%- endfor %}
           </div>