{{ _("%(title)s by %(author)s", title=package_link, author=item.package.author.display_name) }}
{% if item.description %} {{ item.description }} {% else %} {{ item.description or item.package.short_desc }} {% endif %}
{% extends "base.html" %} {% block title %} {{ collection.title }} {% endblock %} {% block description -%} {{ collection.short_description }} {%- endblock %} {% block headextra %} {% set thumb_url = collection.packages and collection.packages[0].get_thumb_url(3, True) %} {% if thumb_url -%} {%- endif %} {% endblock %} {% block author_link -%} {{ collection.author.display_name }} {%- endblock %} {% block content %}
{% if collection.private %} {{ _("Private") }} {% endif %} {{ _("A collection by %(author)s", author=self.author_link()) }}
{{ collection.short_description }}
{{ _("To add a package, go to the package's page and click 'Add to collection'") }}
{% endif %}{% if item.description %} {{ item.description }} {% else %} {{ item.description or item.package.short_desc }} {% endif %}