aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/templates/newcomments_table
blob: 2349dd08bf4e50da8ec27fc9c761930f24011194 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<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 %}{{c.user_name}}{% endif%} </td>
    <td class="description">
        <a href="{{c.get_content_object_url}}">
        {{ c.content_type.name }}</a></td>
        </tr>
{% endfor %}
</table>