summaryrefslogtreecommitdiff
path: root/static/website/templates
diff options
context:
space:
mode:
authorJayaram Pai2014-04-19 21:13:22 +0530
committerJayaram Pai2014-04-19 21:13:22 +0530
commit4614a1fa876a5ee2b089879a5bc46d1ab0ae7294 (patch)
treece5263df49c4fa4c90a3bcf2f47da350fc72b909 /static/website/templates
parent7d6be77f4961a0187f6d2646147f513dbc54c2c2 (diff)
downloadspoken-tutorial-forums-4614a1fa876a5ee2b089879a5bc46d1ab0ae7294.tar.gz
spoken-tutorial-forums-4614a1fa876a5ee2b089879a5bc46d1ab0ae7294.tar.bz2
spoken-tutorial-forums-4614a1fa876a5ee2b089879a5bc46d1ab0ae7294.zip
added meta to answers, fixed video_path
Diffstat (limited to 'static/website/templates')
-rw-r--r--static/website/templates/get-question.html15
1 files changed, 11 insertions, 4 deletions
diff --git a/static/website/templates/get-question.html b/static/website/templates/get-question.html
index af9e4a2..b746f00 100644
--- a/static/website/templates/get-question.html
+++ b/static/website/templates/get-question.html
@@ -103,10 +103,17 @@
{{ answer.body|safe }}
</div>
- <span class="user">
- {{ answer.user }}
+ <span class="meta">
+ <small>
+ <i>
+ {{ answer.date_created|date:"d-m-y" }}, {{ answer.date_created|time }}
+ </i>
+ </small>
+
+ <span class="user">
+ {{ answer.user }}
+ </span>
</span>
-
{% if user|can_edit:answer %}
<span class="modify" style="display:block">
<a class="edit btn btn-xs btn-info vs" href="#body{{ answer.id}}" data-target="body{{ answer.id }}">Edit</a>
@@ -127,7 +134,7 @@
<span class="meta">
<small>
<i>
- {{ comment.date_created|date:"d-m-y" }}, {{ question.date_created|time }}
+ {{ comment.date_created|date:"d-m-y" }}, {{ comment.date_created|time }}
</i>
</small>