{% load util_tags %} {% load humanize %} {% load static from staticfiles %} {% for thread in threads %} {% empty %} {% if empty_message %} {% endif %} {% endfor %}
New Thread Last Post Posts
{% if thread.has_unread_posts %} {% if thread.stickied %} Unread pin {% elif thread.locked %} Unread lock {% elif thread.poll %} Unread poll {% else %} Unread posts {% endif %} {% else %} {% if thread.stickied %} No new pin {% elif thread.locked %} No new lock {% elif thread.poll %} No new poll {% else %} No new posts {% endif %} {% endif %}
{{ thread.title|word_filter|truncatechars:100 }}{% comment %} {% endcomment %} {% with oldest_undread_post=thread.get_jump_post %} {% if oldest_undread_post %} (oldest unread post) {% endif %} {% endwith %}
{{ thread.get_author.username }} {% if user.is_authenticated and thread.is_subscribed %}
{% csrf_token %} ()
{% endif %} {% spaceless %}
    {% with oldest_undread_post=thread.get_jump_post %} {% if oldest_undread_post %}
  • {% endif %} {% endwith %} {% if thread.has_been_read %} {% with last_post=thread.get_last_post %}
  • {% endwith %} {% endif %}
{% endspaceless %}
{% with last_post=thread.get_last_post %} {% endwith %} {{ thread.get_post_count|intcomma }}
{{ empty_message }}