aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/templates/newcomments_table
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django/templates/newcomments_table')
-rw-r--r--bn_django/templates/newcomments_table16
1 files changed, 2 insertions, 14 deletions
diff --git a/bn_django/templates/newcomments_table b/bn_django/templates/newcomments_table
index 6c38d10..ab50b7c 100644
--- a/bn_django/templates/newcomments_table
+++ b/bn_django/templates/newcomments_table
@@ -5,21 +5,9 @@
{{ c.submit_date|date:"F jS" }}</td>
<td class="description">
{% if c.user.username %}{{ c.user.username }}
- {% else %}anonymous{% endif%} </td>
+ {% else %}c.user_name{% 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}}">
+ <a href="{{c.get_content_object_url}}">
{{ c.content_type.name }}</a></td>
</tr>
{% endfor %}