{% extends "cranefly/profiles/profile.html" %} {% import "cranefly/macros.html" as macros with context %} {% block title %}{{ macros.page_title(_('Follows'), profile.username) }}{% endblock %} {% block tab %}

{% if items_total %} {%- trans count=items_total, total=items_total|intcomma, username=profile.username -%} {{ username }} is following one member {%- pluralize -%} {{ username }} is following {{ total }} members {%- endtrans -%} {%- else -%} {% trans username=profile.username %}{{ username }} is not following anybody{% endtrans %} {%- endif %}

{% if items_total %}
{% for row in items|batch(4, '') %} {% for user in row %} {% endfor %} {% endfor %}
{% trans username=profile.username %}Users {{ username }} is following{% endtrans %}
{% if user %} {{ user.username }} {% else %}   {% endif %}
{{ pager() }}
{% endif %} {% endblock %} {% macro pager() -%} {% if pagination['total'] > 1 %} {% endif %} {%- endmacro %}