{% load staff_books_link %}

<table class="comment level-{{ comment.level }}">
    <tr class="comment-header">
        <td>
            <div class="comment-user">
                <img src="http://center.yandex-team.ru/user/avatar/{{ comment.author.login }}/25/square">
                <div class="comment-username">
                    {% staff_books_link comment.author %}
                </div>
            </div>
        </td>

        <td class="comment-datetime">
            <a href="{{ comment.link }}">
                <time>{{ comment.published|date:"d.m.Y H:i" }}</time>
            </a>
        </td>

    </tr>

    <tr class="comment-content">
        <td>
            <p>
                {{ comment.content|safe }}
            </p>
        </td>
    </tr>
    {% if subs %}
    <tr>
        <td>
            <span class="subcomments-switcher">еще {{ subs|length }}</span>
        <td>
    </tr>
    {% endif %}
</table>
