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