diff options
author | Dan McGee <dan@archlinux.org> | 2012-12-28 21:44:09 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-12-28 21:48:29 +0100 |
commit | ee507a5b81d7a21eaa67da4c848522a5a97d2e3c (patch) | |
tree | a48e7b8c27ab27aaa055d40e90efdbfa093a6ad5 /templates/devel/index.html | |
parent | 20b64e42672d185821cc584dfa4b133ee259a144 (diff) | |
download | archweb-ee507a5b81d7a21eaa67da4c848522a5a97d2e3c.tar.gz archweb-ee507a5b81d7a21eaa67da4c848522a5a97d2e3c.tar.xz |
Add a todolist package details link template tag
Given the way we retrieve certain related objects, it makes more sense
to use a custom tag here rather than our generic package details link
tag. When viewing a large todolist, this saves significantly on the
number of queries we need to build the page.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/devel/index.html')
-rw-r--r-- | templates/devel/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html index 5715104..6d30440 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -2,6 +2,7 @@ {% load static from staticfiles %} {% load cache %} {% load package_extras %} +{% load todolists %} {% block title %}Arch Linux - Developer Dashboard{% endblock %} @@ -61,7 +62,7 @@ <tr class="{% cycle 'odd' 'even' %}"> <td><a href="{{ todopkg.todolist.get_absolute_url }}" title="View todo list: {{ todopkg.todolist.name }}">{{ todopkg.todolist.name }}</a></td> - <td>{% pkg_details_link todopkg.pkg %}</td> + <td>{% todopkg_details_link todopkg %}</td> <td>{{ todopkg.repo.name }}</td> <td>{{ todopkg.arch.name }}</td> <td>{{ todopkg.pkg.maintainers|join:', ' }}</td> |