diff options
author | Jayaram Pai | 2014-02-06 08:32:32 +0530 |
---|---|---|
committer | Jayaram Pai | 2014-02-06 08:32:32 +0530 |
commit | f26f41ba9be39c604168d14b5617b6be8042d7f7 (patch) | |
tree | a470f916318c6242f87d8ad55ef3e819201a5f88 /static | |
parent | 8c3a67ea81d1ae46b9ee0147098b2fe275e577ae (diff) | |
download | FOSSEE-Forum-f26f41ba9be39c604168d14b5617b6be8042d7f7.tar.gz FOSSEE-Forum-f26f41ba9be39c604168d14b5617b6be8042d7f7.tar.bz2 FOSSEE-Forum-f26f41ba9be39c604168d14b5617b6be8042d7f7.zip |
added timestamp to replies
Diffstat (limited to 'static')
-rw-r--r-- | static/website/css/main.css | 8 | ||||
-rw-r--r-- | static/website/templates/get-question.html | 12 |
2 files changed, 15 insertions, 5 deletions
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 }} </div> - <span class="user"> - {{ reply.user }} + <span class="meta"> + <small> + <i> + {{ reply.date_created|date:"d-m-y" }}, {{ reply.date_created|time }} + </i> + </small> + + <span class="user"> + {{ reply.user }} + </span> </span> {% if user|can_edit:reply %} |