diff options
author | Dan McGee <dan@archlinux.org> | 2013-01-22 23:47:43 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2013-01-22 23:47:43 +0100 |
commit | e9e1c071654edd7b95e20c8105abbc23f426cecc (patch) | |
tree | 3becfd32ef3535d15504d98fff68969787634a0e /templates/todolists | |
parent | 53484c45ea82a5afa8bf167f978f657b866d4c93 (diff) | |
download | archweb-e9e1c071654edd7b95e20c8105abbc23f426cecc.tar.gz archweb-e9e1c071654edd7b95e20c8105abbc23f426cecc.tar.xz |
Show staging version on todolist view page
If one exists, it is easy enough to show it here so in-progress
todolists can easily be cross-checked with the current state of the
repository.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/todolists')
-rw-r--r-- | templates/todolists/view.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/todolists/view.html b/templates/todolists/view.html index 8622112..e544fa1 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -1,5 +1,6 @@ {% extends "base.html" %} {% load static from staticfiles %} +{% load package_extras %} {% load todolists %} {% block title %}Arch Linux - Todo: {{ list.name }}{% endblock %} @@ -62,6 +63,7 @@ <th>Repository</th> <th>Name</th> <th>Current Version</th> + <th>Staging Version</th> <th>Maintainers</th> <th>Status</th> </tr> @@ -77,6 +79,9 @@ {% else %} <td>{{ pkg.pkg.full_version }}</td> {% endif %} + {% with staging=pkg.staging %} + <td>{% pkg_details_link staging staging.full_version %}</td> + {% endwith %} <td>{{ pkg.maintainers|join:', ' }}</td> <td> {% if perms.todolists.change_todolistpackage %} |