{% 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(_('Follows'), profile.username) }}{% endblock %} {% block tab %}

{% trans username=profile.username %}Who {{ username }} Follows{% endtrans %}{% if items_total %} {%- trans count=items_total, total=items_total|intcomma, username=profile.username -%} {{ username }} follows one member {%- pluralize -%} {{ username }} follows {{ total }} members {%- endtrans -%}{%- endif %}

{% if items_total %}
{{ pager() }}
{% for row in items|batch(4, '') %} {% for user in row %} {% endfor %} {% endfor %}
{% trans count=items_total, total=items_total|intcomma, username=profile.username -%} {{ username }} follows one member {%- pluralize -%} {{ username }} follows {{ total }} members {%- endtrans %}
{% if user %} {{ user.username }}{% if user.title or (in_search and user.get_title()) %} {% if in_search%}{{ _(user.get_title()) }}{% else %}{{ _(user.title) }}{% endif %}{% endif %} {% else %}   {% endif %}
{{ pager() }}
{% else %}

{% trans username=profile.username %}{{ username }} follows nobody{% endtrans %}

{% endif %} {% endblock %} {% macro pager() -%} {%- endmacro %}