{% extends "cranefly/layout.html" %} {% import "cranefly/macros.html" as macros with context %} {% block title %}{{ macros.page_title(title=_('New Threads')) }}{% endblock %} {% block container %}
{% if threads %}
{% trans %}Thread{% endtrans %}
{% trans %}Replies{% endtrans %}
{% trans %}Last Reply{% endtrans %}
{% for thread in threads %}
{% if thread.is_read and not thread.pk == 2 %} {% else %} {% endif %} {{ thread.name }} {% trans user=thread_starter(thread), forum=thread_forum(thread) %}by {{ user }} in {{ forum }}{% endtrans %}
    {% if thread.replies_reported %}
  • {% endif %} {% if thread.replies_moderated %}
  • {% endif %} {% if thread.weight == 2 %}
  • {% endif %} {% if thread.weight == 1 %}
  • {% endif %} {% if thread.moderated %}
  • {% endif %} {% if thread.deleted %}
  • {% endif %} {% if thread.closed %}
  • {% endif %}
{{ thread.replies|intcomma }}
{% if settings.avatars_on_threads_list %} {% if thread.last_poster_id %} {% else %} {% endif %} {% endif %} {{ thread_reply(thread) }}, {{ thread.last|reldate|low }}
{% endfor %}
{{ pager() }} {% else %}

{% trans %}No new threads were started in last 48 hours.{% endtrans %}

{% endif %}
{% endblock %} {% macro replies(thread_replies) -%} {% trans count=thread_replies, replies=thread_replies|intcomma -%} {{ replies }} reply {%- pluralize -%} {{ replies }} replies {%- endtrans %} {%- endmacro %} {% macro thread_starter(thread) -%} {% if thread.start_poster_id %}{{ thread.start_poster_name }}{% else %}{{ thread.start_poster_name }}{% endif %} {%- endmacro %} {% macro thread_forum(thread) -%} {{ thread.forum.name }} {%- endmacro %} {% macro thread_reply(thread) -%} {% if thread.last_poster_id %}{{ thread.last_poster_name }}{% else %}{{ thread.last_poster_name }}{% endif %} {%- endmacro %} {% macro pager() -%} {% if items_total > 0 and pagination['total'] > 1 %} {% endif %} {%- endmacro %}