aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/templates/comment_list
diff options
context:
space:
mode:
authorbnewbold <bnewbold@manus.(none)>2007-02-24 21:26:12 -0800
committerbnewbold <bnewbold@manus.(none)>2007-02-24 21:26:12 -0800
commitba3cdfee16ca65da218c7a9724b6d3a7a770fc81 (patch)
tree80aabd842f4e12a22ed9592ebfdf103481a76973 /bn_django/templates/comment_list
parentcfeab0aadf7ba357a997c4a0203bcf4176ecc0d3 (diff)
downloadbnewnet-ba3cdfee16ca65da218c7a9724b6d3a7a770fc81.tar.gz
bnewnet-ba3cdfee16ca65da218c7a9724b6d3a7a770fc81.zip
work on integrating comments universally
Diffstat (limited to 'bn_django/templates/comment_list')
-rw-r--r--bn_django/templates/comment_list16
1 files changed, 16 insertions, 0 deletions
diff --git a/bn_django/templates/comment_list b/bn_django/templates/comment_list
new file mode 100644
index 0000000..8ed411d
--- /dev/null
+++ b/bn_django/templates/comment_list
@@ -0,0 +1,16 @@
+
+{% if comments %}
+<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>
+ </td><td class="comment_content">
+ <span class="comment_headline">{{ c.headline|escape|wordwrap:80 }}</span>
+ <span class="comment_content">{{ c.content|escape|wordwrap:80 }}</span>
+</td</tr>
+{% endfor %}
+</table>
+{% else %}
+<h3>No comments yet!</h3>
+{% endif %}