From f26f41ba9be39c604168d14b5617b6be8042d7f7 Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Thu, 6 Feb 2014 08:32:32 +0530 Subject: added timestamp to replies --- static/website/css/main.css | 8 +++++--- static/website/templates/get-question.html | 12 ++++++++++-- 2 files changed, 15 insertions(+), 5 deletions(-) (limited to 'static') diff --git a/static/website/css/main.css b/static/website/css/main.css index 4f1f495..27d0e10 100644 --- a/static/website/css/main.css +++ b/static/website/css/main.css @@ -109,6 +109,11 @@ body { right: 0px; bottom: 0px; } +#content .reply .meta{ + position: absolute; + right: 0px; + bottom: 0px; +} #content .question .user{ background: #f5f5f5; padding: 2px 7px; @@ -180,9 +185,6 @@ table .title a { #content .reply .body { } #content .reply .user { - position: absolute; - right: 0px; - bottom: 0px; padding: 2px 7px; background: #f5f5f5; } diff --git a/static/website/templates/get-question.html b/static/website/templates/get-question.html index d888b58..77753e8 100644 --- a/static/website/templates/get-question.html +++ b/static/website/templates/get-question.html @@ -94,8 +94,16 @@ {{ reply.body|safe }} - - {{ reply.user }} + + + + {{ reply.date_created|date:"d-m-y" }}, {{ reply.date_created|time }} + + + + + {{ reply.user }} + {% if user|can_edit:reply %} -- cgit