summaryrefslogtreecommitdiff
path: root/templates/todolists/view.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-01-22 16:47:43 -0600
committerDan McGee <dan@archlinux.org>2013-01-22 16:47:43 -0600
commite9e1c071654edd7b95e20c8105abbc23f426cecc (patch)
tree3becfd32ef3535d15504d98fff68969787634a0e /templates/todolists/view.html
parent53484c45ea82a5afa8bf167f978f657b866d4c93 (diff)
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/view.html')
-rw-r--r--templates/todolists/view.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/todolists/view.html b/templates/todolists/view.html
index 86221127..e544fa12 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 %}