diff options
author | bnewbold <bnewbold@manus.(none)> | 2007-03-07 01:09:52 -0800 |
---|---|---|
committer | bnewbold <bnewbold@manus.(none)> | 2007-03-07 01:09:52 -0800 |
commit | b148bab8f549792f19ae0256c00c282f29e061dc (patch) | |
tree | e08cccaa5257e77faea258891cfd3974ec641ba8 /bn_django/templates/comment_list | |
parent | 3a454ef090f5afe3d0ddf119afa0ca6312e52c3b (diff) | |
download | bnewnet-b148bab8f549792f19ae0256c00c282f29e061dc.tar.gz bnewnet-b148bab8f549792f19ae0256c00c282f29e061dc.zip |
much work; comments working for photos, static content moved, more
Diffstat (limited to 'bn_django/templates/comment_list')
-rw-r--r-- | bn_django/templates/comment_list | 28 |
1 files changed, 24 insertions, 4 deletions
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 %} +<br /> <table class="comments"> {% for c in comments %} <tr><td class="comment_info"> - <span class="comment_user">{{ c.user }}</span> - <span class="comment_date">{{ c.submit_date }}</span> + Posted by <span class="comment_user">{{ c.user }}</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> </td><td class="comment_content"> + {% if c.headline %} <span class="comment_headline">{{ c.headline|escape|wordwrap:80 }}</span> - <span class="comment_content">{{ c.content|escape|wordwrap:80 }}</span> + <br /> + {% endif %} + <span class="comment_content">{{ c.comment|escape|wordwrap:80 }}</span> +</td</tr> +{% endfor %} +{% for c in free_comments %} +<tr><td class="comment_info"> + Posted by <span class="comment_user"> + {% if c.user %}{{ c.user }}{% else %}anonymous{% 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> + </td><td class="comment_content"> + {% if c.headline %} + <span class="comment_headline">{{ c.headline|escape|wordwrap:80 }}</span> + <br /> + {% endif %} + <span class="comment_content">{{ c.comment|escape|wordwrap:80 }}</span> </td</tr> {% endfor %} </table> |