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/packages_list.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/packages_list.html')
-rw-r--r-- | templates/packages/packages_list.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/packages/packages_list.html b/templates/packages/packages_list.html index ccc091d8..942e1073 100644 --- a/templates/packages/packages_list.html +++ b/templates/packages/packages_list.html @@ -1,4 +1,6 @@ {% extends "base.html" %} +{% load package_extras %} + {% block title %}Arch Linux - {{ name }} ({{ arch.name }}) - {{ list_title }}{% endblock %} {% block navbarclass %}anb-packages{% endblock %} @@ -23,8 +25,7 @@ <tr class="{% cycle 'odd' 'even' %}"> <td>{{ pkg.arch.name }}</td> <td>{{ pkg.repo.name|capfirst }}</td> - <td><a href="{{ pkg.get_absolute_url }}" - title="Package details for {{ pkg.pkgname }}">{{ pkg.pkgname }}</a></td> + <td>{% pkg_details_link pkg %}</td> {% if pkg.flag_date %} <td><span class="flagged">{{ pkg.full_version }}</span></td> {% else %} |