{% load i18n %} {% load forum_conversation_tags %} {% load forum_tracking_tags %} {% if topics or not hide_if_empty %}

{% trans topic_list_title %}

{% if not force_all_unread and unread_topics == None %}{% get_unread_topics topics request.user as unread_topics %}{% endif %} {% for topic in topics %}
{{ topic.subject }}{% if topic.is_locked %} {% endif %}
{% if topic.poster %} {% url 'forum_member:profile' topic.poster_id as poster_url %} {% blocktrans trimmed with poster_url=poster_url username=topic.poster.username creation_date=topic.created %} By: {{ username }} on {{ creation_date }} {% endblocktrans %} {% else %} {% blocktrans trimmed with poster_username=topic.first_post.username creation_date=topic.created %} By: {{ poster_username }} on {{ creation_date }} {% endblocktrans %} {% endif %}
{% empty %}
{% if empty_message %} {{ empty_message }} {% else %} {% trans "There are no topics in this forum." %} {% endif %}
{% endfor %}
{% endif %}