diff options
author | Dan McGee <dan@archlinux.org> | 2011-08-09 23:16:00 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-09 23:16:00 -0500 |
commit | 156b91eb5935df4afdb8f0f0311d36537808c2f5 (patch) | |
tree | 2909539c99d6f71c547d8e501f9fa1ba9c424618 /templates/packages/flag_confirmed.html | |
parent | 21461e78608bb687d7101dd55e72d44cbebf2ff6 (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_confirmed.html')
-rw-r--r-- | templates/packages/flag_confirmed.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/packages/flag_confirmed.html b/templates/packages/flag_confirmed.html index 9ef316cb..398212f8 100644 --- a/templates/packages/flag_confirmed.html +++ b/templates/packages/flag_confirmed.html @@ -1,4 +1,6 @@ {% extends "base.html" %} +{% load package_extras %} + {% block title %}Arch Linux - Package Flagged - {{ package.pkgname }}{% endblock %} {% block navbarclass %}anb-packages{% endblock %} @@ -9,12 +11,10 @@ <p>Thank you, the maintainers have been notified the following packages are out-of-date:</p> <ul> {% for pkg in packages %} - <li><a href="{{ pkg.get_absolute_url }}" - title="Package details for {{package.pkgname}}">{{ pkg.pkgname }} {{ pkg.full_version }}</a> [{{ 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> - <p>You can return to the package details page for - <a href="{{ package.get_absolute_url }}" title="Package details for {{package.pkgname}}">{{package.pkgname}}</a>.</p> + <p>You can return to the package details page for {% pkg_details_link package %}.</p> </div> {% endblock %} |