From e761b2d295c920da153ac673892cfd9616e6a2b7 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 8 Apr 2018 22:38:06 +0200 Subject: [PATCH] feat(templates): Display author information in templates --- templates/index.html | 2 +- templates/thread.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/index.html b/templates/index.html index d1b744e94..fe35eb7bc 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,7 +7,7 @@

Welcome to Converse


diff --git a/templates/thread.html b/templates/thread.html index e26d4bcc6..83007d6ac 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -6,9 +6,9 @@

{{ thread.title }}

-

{{ thread.body }}
Posted at {{ thread.posted }}

+

{{ thread.body }}
Posted at {{ thread.posted }} by {{ thread.author_name }}

{% for post in posts -%} -
  • {{ post.body }}
    Posted at {{ post.posted }}
  • +
  • {{ post.body }}
    Posted at {{ post.posted }} by {{ post.author_name }}
  • {%- endfor %}