{% extends "cranefly/layout.html" %} {% load i18n %} {% import "cranefly/macros.html" as macros with context %} {% block title %}{{ macros.page_title(title=_('New Threads')) }}{% endblock %} {% block container %}
{% if threads %}
{% for thread in threads %} {% endfor %}
{% trans %}Thread{% endtrans %} {% trans %}Started{% endtrans %}
{{ thread.name }} {% trans forum=forum(thread.forum), starter=username(thread.start_poster_id, thread.start_poster_name, thread.start_poster_slug), start=thread.start|reltimesince %}{{ start }} - by {{ starter }} - {{ forum }}{% endtrans %}
{{ pager() }} {% else %}

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

{% endif %}
{% endblock %} {% macro forum(forum) -%} {{ forum.name }} {%- endmacro %} {% macro username(id, username, slug) -%} {%- if id -%} {{ username }} {%- else -%} {{ username }} {%- endif -%} {%- endmacro %} {% macro pager() -%} {% if items_total > 0 and pagination['total'] > 1 %} {% endif %} {%- endmacro %}