{% extends "bandwagon/impala/base_collection.html" %} {% set url_base = url('collections.list') %} {% if sort %} {% set title = {'featured': _('Featured Collections'), 'followers': _('Most-Followed Collections'), 'created': _('Newest Collections'), 'name': _('Collections by Name'), 'updated': _('Recently Updated Collections'), 'popular': _('Recently Popular Collections')}.get(sorting) %} {% else %} {% set title = _('Collections') %} {% endif %} {% block title %}{{ page_title(title) }}{% endblock %} {% block primary %}
{% if sort %} {{ impala_breadcrumbs([(url('collections.list'), _('Collections')), (None, title)]) }}

{{ title }}

{% else %} {{ impala_breadcrumbs([(None, _('Collections'))]) }}

{{ title }}

{% trans url=url('collections.add') %} Collections are groups of related add-ons that anyone can create and share. Explore collections created by other users or create your own. {% endtrans %}

{% endif %}
{{ _('Subscribe') }} {{ impala_addon_listing_header(url_base, filter.opts, sorting, filter.extras) }}
{{ impala_collection_listing_items(collections.object_list, filter.field) }}
{% if sorting != 'featured' %} {{ collections|impala_paginator }} {% endif %}
{% endblock %}