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

{% trans username=profile.username %}{{ username }}'s followers{% endtrans %}{% if items_total %} {%- trans count=items_total, total=items_total|intcomma, username=profile.username -%} {{ username }} has one follower {%- pluralize -%} {{ username }} has {{ total }} followers {%- 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 }} has one follower at this time {%- pluralize -%} {{ username }} has {{ total }} followers at this time {%- endtrans %}
{% if user %} {{ user.username }} {% else %}   {% endif %}
{{ pager() }}
{% else %}

{% trans username=profile.username %}{{ username }} has no followers at this time{% endtrans %}

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