X-Git-Url: http://git.datanom.net/flask-test.git/blobdiff_plain/db4f0ba9d4aec596f179335f1d86b3dd2bb206c6..163c4d87c8cefd45e8c8836daa28c53956be1e1a:/app/templates/post.html diff --git a/app/templates/post.html b/app/templates/post.html index d55ba60..b13f227 100644 --- a/app/templates/post.html +++ b/app/templates/post.html @@ -1,5 +1,12 @@ -
{{ post.author.nickname }} says: {{ post.body }} |
+
+ |
+ {{ post.author.nickname }} said {{ momentjs(post.timestamp).fromNow() }}: +{{ post.body }} + {% if post.author.id == g.user.id %} + + {% endif %} + |