{% extends "base.html" %}
{% set c = collection %}
{% block title %}{{ page_title(_('{0} :: Collections')|f(c.name)) }}{% endblock %}
{% block bodyclass %}inverse{% endblock %}
{% block rss_feed %}
{% endblock %}
{% block content %}
{% with crumbs = [(url('collections.list'), _('Collections')), (None, c.name)] %}
{% if c.author %}
{% do crumbs.insert(1, (url('collections.user', c.author.username), c.author.name)) %}
{% endif %}
{{ breadcrumbs(crumbs) }}
{% endwith %}
{% if collection.author %}
{{ c.name }}
{% if not c.listed %}
{{ _('private') }}
{% endif %}
{% trans users=users_list([collection.author]) %}
by {{ users }}
{% endtrans %}
{% endif %}
{{ c.description }}
{% elif c.type == amo.COLLECTION_MOBILE %}{{ _('Add-ons synced to my Mobile Firefox using the Add-on Collector') }}
{% endif %} {% if c.type == amo.COLLECTION_FAVORITES and c.owned_by(amo_user) %} {% endif %} {{ collection_widgets(c) }} {% if request.check_ownership(c) %}{{ _('More Options:') }} {{ _('Edit Collection') }} {% if request.check_ownership(c, require_owner=True) %} {{ _('Delete Collection') }} {% endif %}
{% endif %}{% trans %} Collections are groups of related add-ons that anyone can create and share. {% endtrans %}
{{ _('Explore Collections') }}{% trans %} Add-ons that you mark as favorites using the Add to Favorites feature appear below. This collection is currently public, which means everyone can see it. If you would like to hide it from public view, click the button below to make it private. {% endtrans %}
{% else %}{% trans %} Add-ons that you mark as favorites using the Add to Favorites feature appear below. This collection is currently private, which means only you can see it. If you would like everyone to be able to see your favorites, click the button below to make it public. {% endtrans %}
{% endif %} {% else %} {# owned-by #} {% if c.description %}{{ c.description }}
{% else %}{{ _('My favorite add-ons') }}
{% endif %} {% endif %} {% endmacro %}