{% load util_tags %} {% load bbc %} {% with selectable=request.user.is_staff %}
    {% for post in posts %}
  1. {% if user.is_authenticated %} {% if user.is_admin %} admin {% elif user.can_report and user.pk != post.author.pk %} Report {% endif %} {% endif %} {% if not show_thread_context %} #{{ forloop.counter0|add:posts.start_index }} {% if user.is_authenticated and user.is_staff %} {% endif %} {% endif %}
    {% if allow_avatars and post.author.avatar %} {% endif %}
    {{ post.author.username }} {{ post.author.get_user_title }} {% if post.author.tripphrase %} [{{ post.author.tripphrase }}] {% endif %}
    {{ post.content|bbc:bbcode_settings }}
    {% if user.is_authenticated and show_post_controls %} {% post_controls %} {% endif %}
    {% if show_thanks_block %} {% include "thanks_block.html" with post=post %} {% endif %}
  2. {% endfor %}
{% endwith %}