aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/templates/newcomments_table
blob: ab50b7c6efd4e6e369c97e88d80f07939a703741 (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>