aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/templates/newcomments_table
diff options
context:
space:
mode:
authorbnewbold <bnewbold@manus.(none)>2007-03-07 14:56:46 -0800
committerbnewbold <bnewbold@manus.(none)>2007-03-07 14:56:46 -0800
commit953fc002832a9afe59372bf513ef167916608e05 (patch)
tree73ba59d2479d240c7b14d9e1757b9e5cecad5fb6 /bn_django/templates/newcomments_table
parent8a459f1bfcad487d6e594b9c3d7ca485a9084f49 (diff)
downloadbnewnet-953fc002832a9afe59372bf513ef167916608e05.tar.gz
bnewnet-953fc002832a9afe59372bf513ef167916608e05.zip
comments progress, style changes
Diffstat (limited to 'bn_django/templates/newcomments_table')
-rw-r--r--bn_django/templates/newcomments_table26
1 files changed, 26 insertions, 0 deletions
diff --git a/bn_django/templates/newcomments_table b/bn_django/templates/newcomments_table
new file mode 100644
index 0000000..6c38d10
--- /dev/null
+++ b/bn_django/templates/newcomments_table
@@ -0,0 +1,26 @@
+<table class="listing">
+{% for c in latest_comments %}
+<tr>
+ <td class="date">
+ {{ c.submit_date|date:"F jS" }}</td>
+ <td class="description">
+ {% if c.user.username %}{{ c.user.username }}
+ {% else %}anonymous{% endif%} </td>
+ <td class="description">
+ <a href="{{c.get_content_object.get_absolute_url}}">
+ {{ c.content_type.name }}</a></td>
+ </tr>
+{% endfor %}
+{% for c in latest_freecomments %}
+<tr>
+ <td class="date">
+ {{ c.submit_date|date:"F jS" }}</td>
+ <td class="description">
+ {% if c.person_name %}{{c.person_name}}{% else %}anonymous{% endif %}
+ </td>
+ <td class="description">
+ <a href="{{c.get_content_object.get_absolute_url}}">
+ {{ c.content_type.name }}</a></td>
+ </tr>
+{% endfor %}
+</table>