Tweaking last post in a topic/forum column
[edumed.git] / forum / templates / pybb / topic_last_message_info.html
diff --git a/forum/templates/pybb/topic_last_message_info.html b/forum/templates/pybb/topic_last_message_info.html
new file mode 100644 (file)
index 0000000..ff49ffa
--- /dev/null
@@ -0,0 +1,6 @@
+{% load humanize %}
+{% if topic.updated %}
+    {{ topic.last_post.user }}
+    {{ topic.updated|naturaltime }}
+    
+{% endif %}
\ No newline at end of file