From ba1656b83cc6e81c15d1f132686a1d8d4580ee5c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 8 Jan 2009 11:56:04 -0800 Subject: fixed comment bug? --- bn_django/templates/comment_list | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bn_django/templates') diff --git a/bn_django/templates/comment_list b/bn_django/templates/comment_list index 4923a5e..dad1de5 100644 --- a/bn_django/templates/comment_list +++ b/bn_django/templates/comment_list @@ -1,9 +1,13 @@ {% if comments or free_comments %} +{% comment %}TODO: this needs to be rewriten!{% endcomment %} +
{% for c in comments %}
- Posted by {{ c.user }}
+ Posted by + {% if c.user.username %} {{ c.user.username }} + {% else %}{{ c.user_name }} {% endif %}
on {{ c.submit_date|date:"F j, Y" }}
at {{ c.submit_date|date:"H:i T" }} -- cgit v1.2.3