{% extends "base.html" %}
{% load package_extras %}

{% block title %}{{ BRANDING_DISTRONAME }} - Not Available - {{ name }} {{ version }} ({{ arch.name }}){% endblock %}
{% block navbarclass %}anb-packages{% endblock %}

{% block content %}
<div id="pkg-gone" class="box">
    <h2>{{ name }} {{ version }} is no longer available</h2>

    <p>{{ name }} {{ version }} has been removed from the [{{ repo.name|lower }}] repository.</p>

    {% if elsewhere %}
    <p>However, this package or replacements are available elsewhere:</p>
    <ul>
        {% for pkg in elsewhere %}
        <li>{% pkg_details_link pkg %} {{ pkg.full_version }} [{{ pkg.repo.name|lower }}] ({{ pkg.arch.name }})</li>
        {% endfor %}
    </ul>
    {% else %}
    <p>Unfortunately, this package cannot be found in any other repositories.</p>
    {% endif %}
</div>
{% endblock %}
