{% extends "txcollections/base.html" %} {% load i18n %} {% load txcommontags %} {% load markup %} {% load statistics %} {% block body_class %}{{ block.super }} collection_detail{% endblock %} {% block title %}{{ block.super }} | {{ collection.name }}{% endblock %} {% block extra_head %} {% endblock %} {% block breadcrumb %}{{ block.super }} » {{ collection.name }}{% endblock %} {% block body_main %}

{{ collection.name }}

{% if collection.description %}

{{ collection.description }}

{% endif %} {% if request.user.is_authenticated and perms.txcollections.change_collection %} {% endif %} {% with collection.long_description_html as long_desc %} {% if long_desc %}
{{ long_desc|truncatewords_html:"100"|safe }}
{% endif %} {% endwith %}
{% if collection.homepage or collection.tags %}

{% blocktrans %}Details{% endblocktrans %}

{% endif %} {% if collection.homepage %} {% endif %} {% if collection.tags %} {% endif %}
{% trans "Homepage:" %} {{ collection.homepage }}
{% trans "Tags:" %} {% for tag in collection.tagsobj.all|slice:"0:6" %}{{ tag }} {% endfor %}
{% url collection_release_create slug=collection.slug as release_create %}
{% with collection.releases.all as releases %}

{% blocktrans %}{{ collection }} Releases{% endblocktrans %} {% render_metacount releases _("releases") %}

{% if releases %}

{% blocktrans %}The {{ collection }} collection includes the following groups of shipped components:{% endblocktrans %}

    {% for release in releases %}
  • {{ release.name }} {% if release.description %}– {{ release.description }}{% endif %}

  • {% endfor %}
{% else %} {% url release_create as collection_list %}

{% blocktrans %}No releases are registered for this collection yet. Why don't you add one?{% endblocktrans %}

{% endif %} {% endwith %}
{% with collection.projects.all as projects %}

{% blocktrans %}Projects in {{ collection }}{% endblocktrans %} {% render_metacount projects _("projects") %}

{% if projects %}

{% blocktrans %}Projects currently registered to belong in this collection:{% endblocktrans %}

{% else %} {% url project_list as project_list %}

{% blocktrans %}No projects are registered for this collection yet. Find projects and add them to this collection.{% endblocktrans %}

{% endif %} {% endwith %}
{% endblock %}{# body_main #} {% block content_footer %} {% endblock %}