diff gpp/templates/forums/last_post_info.html @ 84:9e5e52556d5b

Forums: added a last_post_info template tag. Still need to add a go to last post icon for it.
author Brian Neal <bgneal@gmail.com>
date Sat, 29 Aug 2009 22:01:40 +0000
parents
children 4c33e266db03
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpp/templates/forums/last_post_info.html	Sat Aug 29 22:01:40 2009 +0000
@@ -0,0 +1,6 @@
+{% if post %}
+{{ post.update_date|date:"M d, Y H:i"}}<br />
+<a href="{% url bio-view_profile username=post.user.username %}" title="View profile for {{ post.user.username }}">{{ post.user.username }}</a>
+{% else %}
+<i>No posts</i>
+{% endif %}