{% extends "partials/layout.html" %}

{% block pageContent %}
    {% include "partials/packages/search.html" %}
    <div id="pkgdetails" class="box">
        <h2>{{ 'Package Details' | tr }}: {{ package.Name }} {{ package.Version }}</h2>

        {% include "partials/packages/actions.html" %}

        {% set show_package_details = True %}
        {% include "partials/packages/details.html" %}

        <div id="metadata">
            {% include "partials/packages/package_metadata.html" %}
        </div>
    </div>

    <!-- On-the-fly comment editing functions -->
    <script type="text/javascript" src="/static/js/comment-edit.js"></script>

    {% set pkgname = package.Name %}
    {% set pkgbase_id = pkgbase.ID %}
    {% include "partials/packages/comments.html" %}
{% endblock %}
