{% extends "pyppi/package_list.html" %}{% load url from future %}{% load breadcrumbs %}

{% block extrahead %}
    <link rel="meta" title="DOAP" type="application/rdf+xml"
          href="{% url 'pyppi-package-doap' package=package.name %}"/>
{% endblock %}
{% block page_title %}
    <h1 class="package-title">{{ package.name }}
        {% if manage_allowed %}
            <h5><a href="{% url 'pyppi-package-edit' package.pk %}">manage</a></h5>
        {% endif %}
    </h1>
{% endblock %}
{% block breadcrumbs %}
    {{ block.super }}
    {% breadcrumb package 'pyppi-package' package.pk %}
{% endblock breadcrumbs %}


{% block content %}
    {% with package.latest as release %}
        {% if release %}
            {% include "pyppi/release_detail_content.html" %}
        {% else %}
            <div>No releases yet :(</div>
        {% endif %}
    {% endwith %}
{% endblock %}
