From b148bab8f549792f19ae0256c00c282f29e061dc Mon Sep 17 00:00:00 2001 From: bnewbold Date: Wed, 7 Mar 2007 01:09:52 -0800 Subject: much work; comments working for photos, static content moved, more --- bn_django/templates/comment_list | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'bn_django/templates/comment_list') diff --git a/bn_django/templates/comment_list b/bn_django/templates/comment_list index 8ed411d..ce3ad19 100644 --- a/bn_django/templates/comment_list +++ b/bn_django/templates/comment_list @@ -1,13 +1,33 @@ - {% if comments %} +
{% for c in comments %}
- {{ c.user }} - {{ c.submit_date }} + Posted by {{ c.user }}
+ on + {{ c.submit_date|date:"F j, Y" }}
+ at {{ c.submit_date|date:"H:i T" }}
+ {% if c.headline %} {{ c.headline|escape|wordwrap:80 }} - {{ c.content|escape|wordwrap:80 }} +
+ {% endif %} + {{ c.comment|escape|wordwrap:80 }} + +{% endfor %} +{% for c in free_comments %} +
+ Posted by + {% if c.user %}{{ c.user }}{% else %}anonymous{% endif %}
+ on + {{ c.submit_date|date:"F j, Y" }}
+ at {{ c.submit_date|date:"H:i T" }} +
+ {% if c.headline %} + {{ c.headline|escape|wordwrap:80 }} +
+ {% endif %} + {{ c.comment|escape|wordwrap:80 }} {% endfor %}
-- cgit v1.2.3