<div class="subtitle-comment{% if type != 'sport' %} subtitle-comment-grey{% endif %}">
<div class="subtitle-comment-text">Комментарии</div>
</div>
{% for comment in comments %}
<div class="comment">
<div class="comment-time">{{ comment.time }}</div>
{% if comment.vk_user_id %}
<div class="comment-name class="comment-name-vk">
    <table border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td align="left" valign="top" class="comment-name-vk-icon">
                <a href="http://vk.com/id{{ comment.vk_user_id }}" target="_blank"><img src="{{ asset('images/vkontakte_16.png') }}" width="16" height="16" border="0" alt="{{ comment.name }}" /></a>
            </td>    
            <td align="left" valign="top" class="comment-name-vk-name">    
                <a href="http://vk.com/id{{ comment.vk_user_id }}" target="_blank">{{ comment.name }}</a>               
            </td>    
        </tr>
    </table>
</div>
{% elseif comment.fb_user_id %}
<div class="comment-name class="comment-name-vk">
    <table border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td align="left" valign="top" class="comment-name-vk-icon">
                <a href="http://www.facebook.com/profile.php?id={{ comment.fb_user_id }}" target="_blank"><img src="{{ asset('images/facebook_16.png') }}" width="16" height="16" border="0" alt="{{ comment.name }}" /></a>
            </td>    
            <td align="left" valign="top" class="comment-name-vk-name">    
                <a href="http://www.facebook.com/profile.php?id={{ comment.fb_user_id }}" target="_blank">{{ comment.name }}</a>
            </td>    
        </tr>
    </table>
</div>
{% else %}
<div class="comment-name">{{ comment.name }}</div>
{% endif %}
<div class="comment-message">{{ comment.message|raw }}</div>
</div>
{% endfor %}
{% if is_admin %}
<div id="article-comments-moderate">
<a href="{{comments_edit_link}}">Модерировать комментарии</a>
</div>
{% endif %}