{% extends "base.html" %} {% block title %} {{ collection.title }} {% endblock %} {% block description -%} {{ collection.short_description }} {%- endblock %} {% block author_link -%} {{ collection.author.display_name }} {%- endblock %} {% block content %}
{{ _("%(author)s's collections", author=collection.author.display_name) }} {% if current_user.is_authenticated %}
{% endif %} {% if collection.check_perm(current_user, "EDIT_COLLECTION") %} {{ _("Edit") }} {% endif %}

{{ self.title() }}

{% if collection.private %} {{ _("Private") }} {% endif %} {{ _("A collection by %(author)s", author=self.author_link()) }}

{{ collection.short_description }}

{{ _("Packages") }}

{% if not collection.items %}

{{ _("To add a package, go to the package's page and click 'Add to collection'") }}

{% endif %}
{% for item in collection.items %}
{{ item.package.title }} screenshot
{{ item.package.title }}

{% if item.description %} {{ item.description }} {% else %} {{ item.description or item.package.short_desc }} {% endif %}

{% endfor %}
{% endblock %}