aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@animus.robocracy.org>2009-01-08 11:56:04 -0800
committerBryan Newbold <bnewbold@animus.robocracy.org>2009-01-08 11:56:04 -0800
commitba1656b83cc6e81c15d1f132686a1d8d4580ee5c (patch)
tree71138c4227eb0d2e78f7d3478599c91a2c10c540 /bn_django/templates
parent763d104dc5bca0ab51d3b4b3e5f02be7200e87dc (diff)
downloadbnewnet-ba1656b83cc6e81c15d1f132686a1d8d4580ee5c.tar.gz
bnewnet-ba1656b83cc6e81c15d1f132686a1d8d4580ee5c.zip
fixed comment bug?
Diffstat (limited to 'bn_django/templates')
-rw-r--r--bn_django/templates/comment_list6
1 files changed, 5 insertions, 1 deletions
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 %}
+
<br />
<table class="comments">
{% for c in comments %}
<tr><td class="comment_info">
- Posted by <span class="comment_user">{{ c.user }}</span><br />
+ Posted by <span class="comment_user">
+ {% if c.user.username %} {{ c.user.username }}
+ {% else %}{{ c.user_name }} {% endif %}</span><br />
on <span class="comment_date">
{{ c.submit_date|date:"F j, Y" }}</span><br />
at <span class="comment_time">{{ c.submit_date|date:"H:i T" }}</span>