{% extends "sora/profiles/profile.html" %} {% load i18n %} {% load humanize %} {% load url from future %} {% import "_forms.html" as form_theme with context %} {% import "sora/macros.html" as macros with context %} {% block title %}{{ macros.page_title(_('Posts'), profile.username) }}{% endblock %} {% block tab %}

{% trans username=profile.username %}{{ username }}'s Posts{% endtrans %}{% if items_total %} {%- trans count=items_total, total=items_total|intcomma, username=profile.username -%} {{ username }} has one post {%- pluralize -%} {{ username }} has {{ total }} posts {%- endtrans -%}{% endif %}

{% if items_total %}
{{ pager() }}
{{ pager() }}
{% else %}

{% trans username=profile.username %}{{ username }} has no posts{% endtrans %}

{% endif %} {% endblock %} {% macro pager() -%} {%- endmacro %} {% macro thread(item) -%} {{ item.thread.name }} {%- endmacro %} {% macro forum(forum) -%} {{ forum.name }} {%- endmacro %} {% macro username(user) -%} {{ user.username }} {%- endmacro %}