{% load misago_avatars %}
<li id="post-{{ post.pk }}" class="post {% if post.is_hidden and not post.acl.can_see_hidden %}post-hidden{% endif %} {% if not post.is_read %}post-new{% endif %}" itemscope itemtype="http://schema.org/DiscussionForumPosting">
  <div class="post-border">
    <div class="post-avatar">
      {% if post.poster %}
        <a href="{{ post.poster.get_absolute_url }}">
          <img class="user-avatar" src="{{ post.poster|avatar:100 }}" alt="">
        </a>
      {% else %}
        <img class="user-avatar" src="{{ BLANK_AVATAR_URL }}" width="100" height="100" alt="">
      {% endif %}
    </div>
    <div class="post-body">
      <div class="panel panel-default panel-post">
        {% include "misago/thread/posts/post/header.html" %}
        {% if post.is_hidden and not post.acl.can_see_hidden %}
          {% include "misago/thread/posts/post/body-hidden.html" %}
        {% else %}
          {% include "misago/thread/posts/post/flags.html" %}
          {% include "misago/thread/posts/post/body.html" %}
          {% if post.attachments %}
            {% include "misago/thread/posts/post/attachments.html" %}
          {% endif %}
          {% include "misago/thread/posts/post/footer.html" %}
        {% endif %}
      </div>
    </div>
  </div>
</li>