summaryrefslogtreecommitdiff
path: root/templates/packages/flag.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-09 23:16:00 -0500
committerDan McGee <dan@archlinux.org>2011-08-09 23:16:00 -0500
commit156b91eb5935df4afdb8f0f0311d36537808c2f5 (patch)
tree2909539c99d6f71c547d8e501f9fa1ba9c424618 /templates/packages/flag.html
parent21461e78608bb687d7101dd55e72d44cbebf2ff6 (diff)
Use new package details link tag in templates
This replaces a lot of boilerplate we had everywhere, and makes sure things like the title are consistent across all links. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/flag.html')
-rw-r--r--templates/packages/flag.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/packages/flag.html b/templates/packages/flag.html
index 4a3c6966..261d6066 100644
--- a/templates/packages/flag.html
+++ b/templates/packages/flag.html
@@ -1,4 +1,6 @@
{% extends "base.html" %}
+{% load package_extras %}
+
{% block title %}Arch Linux - Flag Package - {{ package.pkgname }}{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}
@@ -13,7 +15,7 @@
<p>Note that all of the following packages will be marked out of date:</p>
<ul>
{% for pkg in packages %}
- <li>{{ pkg.pkgname }} {{ pkg.full_version }} [{{ pkg.repo.name|lower }}] ({{ pkg.arch.name }})</li>
+ <li>{% pkg_details_link pkg %} {{ pkg.full_version }} [{{ pkg.repo.name|lower }}] ({{ pkg.arch.name }})</li>
{% endfor %}
</ul>