{% load i18n %}
{% load comments %}
{% load comments_xtd %}

<li id="c{{ comment.id }}" class="media">
  <a name="c{{ comment.id }}"></a>
  <div class="media-left">{{ comment.user_email|xtd_comment_gravatar }}</div>
  <div class="media-body">
    <div class="comment">
      <h6 class="media-heading">
        {% trans "Posted to "%}&nbsp;<a href="{{ comment.content_object.get_absolute_url }}">{{ comment.content_object }}</a>&nbsp;-&nbsp;
        {{ comment.submit_date|timesince }}&nbsp;-&nbsp;{% if comment.url and not comment.is_removed %}<a href="{{ comment.url }}" target="_new">{% endif %}{{ comment.name }}{% if comment.url %}</a>{% endif %}&nbsp;&nbsp;<a class="permalink" title="comment permalink" href="{% get_comment_permalink comment %}">¶</a>
      </h6>
      {% if comment.is_removed %}
      <p class="text-muted">{% trans "This comment has been removed." %}</p>
      {% else %}
      <div class="content">
        {% include "includes/django_comments_xtd/comment_content.html" with content=comment.comment %}
      </div>
      {% endif %}
    </div>
  </div>
</li>
