{% extends "txcollections/base.html" %} {% load i18n %} {% load txcommontags %} {% load pagination_tags %} {% block body_class %}{{ block.super }} collection_list{% endblock %} {% block title %}{{ block.super }} | {% trans "Collection list" %}{% endblock %} {% block extra_head %} {% endblock %} {% block breadcrumb %}{% homelink %} » {% trans "Collections" %}{% endblock %} {% block content_title %}

{% if tag %}{% blocktrans %}Collections with tag '{{ tag }}'{% endblocktrans %} {% else %}{% trans "Collections on Transifex" %}{% endif %} {% render_metacount collection_list _("collections") %}

{% endblock %} {% block content_header_sec %} {% if request.user.is_authenticated and perms.txcollections.add_collection %}
{% trans "Add a new collection" %}
{% endif %} {% endblock %} {% block body_sec %} {% endblock %} {% block body_main %} {% autopaginate collection_list 5 %}
{% paginate %}
{% for collection in collection_list %}

{{ collection.name }}

{{ collection.description }}

{% blocktrans count collection.releases.all|length as counter %}1 release{% plural %}{{ counter }} releases{% endblocktrans %}, {% blocktrans count collection.projects.all|length as counter %}1 project{% plural %}{{ counter }} projects{% endblocktrans %} {% if collection.tags %}| {% trans "Tags:" %} {% for tag in collection.tagsobj.all|slice:"0:6" %}{{ tag }} {% endfor %}{% endif %}

{% endfor %}
{% paginate %}
{% if not collection_list %}

{% trans "No collections registered yet. :-(" %}

{% url collection_create as collection_create %}

{% blocktrans %}Why don't you add one?{% endblocktrans %}

{% endif %} {% endblock %} {% block content_footer %} {% url collection_create as collection_create %} {% endblock %}