aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/templates/comment_list
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django/templates/comment_list')
-rw-r--r--bn_django/templates/comment_list41
1 files changed, 0 insertions, 41 deletions
diff --git a/bn_django/templates/comment_list b/bn_django/templates/comment_list
deleted file mode 100644
index d00dc6a..0000000
--- a/bn_django/templates/comment_list
+++ /dev/null
@@ -1,41 +0,0 @@
-{% 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">
- {% 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" }}</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|linebreaks|wordwrap:80 }}</span>
-</td></tr>
-{% endfor %}
-{% for c in free_comments %}
-<tr><td class="comment_info">
- Posted by <span class="comment_user">
- {% if c.person_name %}{{ c.person_name}}{% 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>
-<br /><br />
-{% else %}
-<h3>No comments yet!</h3>
-{% endif %}