summaryrefslogtreecommitdiff
path: root/templates/packages/removed.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/packages/removed.html')
-rw-r--r--templates/packages/removed.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/packages/removed.html b/templates/packages/removed.html
new file mode 100644
index 00000000..f188b6db
--- /dev/null
+++ b/templates/packages/removed.html
@@ -0,0 +1,27 @@
+{% extends "base.html" %}
+{% load package_extras %}
+
+{% block title %}Arch Linux - 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.
+ Try using the <a href="{% url 'packages-search' %}?name={{ update.pkgname|urlencode }}">package search page</a>,
+ or try <a href="https://aur.archlinux.org/packages.php?K={{ update.pkgname|urlencode }}">searching the AUR</a>
+ to see if the package can be found there.</p>
+ {% endif %}
+</div>
+{% endblock %}