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/devel/index.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/devel/index.html')
-rw-r--r-- | templates/devel/index.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html index ad101145..0c818d36 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -1,5 +1,6 @@ {% extends "base.html" %} {% load cache %} +{% load package_extras %} {% block title %}Arch Linux - Developer Dashboard{% endblock %} @@ -24,8 +25,7 @@ <tbody> {% for pkg in flagged %} <tr class="{% cycle 'odd' 'even' %}"> - <td><a href="{{ pkg.get_absolute_url }}" - title="View package details for {{ pkg.pkgname }}">{{ pkg.pkgname }}</a></td> + <td>{% pkg_details_link pkg %}</td> <td>{{ pkg.repo.name }}</td> <td>{{ pkg.full_version }}</td> <td>{{ pkg.arch.name }}</td> @@ -55,8 +55,7 @@ <tr class="{% cycle 'odd' 'even' %}"> <td><a href="{{ todopkg.list.get_absolute_url }}" title="View todo list: {{ todopkg.list.name }}">{{ todopkg.list.name }}</a></td> - <td><a href="{{ todopkg.pkg.get_absolute_url }}" - title="View package details for {{ todopkg.pkg.pkgname }}">{{ todopkg.pkg.pkgname }}</a></td> + <td>{% pkg_details_link todopkg.pkg %}</td> <td>{{ todopkg.pkg.repo.name }}</td> <td>{{ todopkg.pkg.arch.name }}</td> <td>{{ todopkg.pkg.maintainers|join:', ' }}</td> |