{% extends "community/base.html" %} {% if area == 'questions' %} {% set title = _('Top Contributors - Support Forum') %} {% elif area == 'kb' %} {% set title = _('Top Contributors - Knowledge Base') %} {% elif area == 'l10n' %} {% set title = _('Top Contributors - Localization') %} {% endif %} {% set crumbs = [(url('community.home'), _('Community Hub')), (None, title)] %} {% block content %}

{{ title }}

{# Locale Filter #}
{% if locales %}
{% endif %} {# Product Filter #} {% if products %}
{% endif %}

{{ _('There are {total} users with at least one contribution in the last 90 days.')|f(total=total) }}

{% for result in results %}
{% if result['user']['avatar'] %} {% endif %} {{ loop.index + ((page - 1) * page_size) }}

{{ result['user']['display_name'] }}

  • {{ result['user']['username'] }}
  • {{ _('Contributions in last 90 days: {count}')|f(count=result['count']) }}
  • {{ _('View Profile') }}
  • {{ _('Private Message') }}
  • {% if result['user']['days_since_last_activity'] is not undefined %}
  • {{ _('Days since last activity:') }} {{ result['user']['days_since_last_activity'] }}
  • {% endif %}
{% endfor %}
{% if total > page_size %} {% set base_url = url('community.top_contributors', area=area) %} {% if product %} {% set base_url = base_url|urlparams(product=product.slug) %} {% endif %} {% if locale %} {% set base_url = base_url|urlparams(locale=locale) %} {% endif %}
    {% for i in range((total/page_size)|round(method='ceil')|int) %} {{ i + 1 }} {% endfor %}
{% endif %}
{% endblock %}