summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-02-07 06:43:39 +0100
committerDan McGee <dan@archlinux.org>2012-02-07 06:43:39 +0100
commitd7d01e3c592a68226edc7dfd435913b0f0781ddd (patch)
treeb16b52723adae43b704006744189186023513e94 /templates
parent7977214c578ecde1dd6a0d99d60b83116ca3dfa9 (diff)
downloadarchweb-d7d01e3c592a68226edc7dfd435913b0f0781ddd.tar.gz
archweb-d7d01e3c592a68226edc7dfd435913b0f0781ddd.tar.xz
Add testing version column to dashboard flagged packages table
As requested in FS#28298. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/devel/index.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 530986a..04fc5e5 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -16,6 +16,7 @@
<tr>
<th>Name</th>
<th>Version</th>
+ <th>Testing Version</th>
<th>Repo</th>
<th>Arch</th>
<th>Flagged</th>
@@ -27,6 +28,10 @@
<tr class="{% cycle 'odd' 'even' %}">
<td>{% pkg_details_link pkg %}</td>
<td>{{ pkg.full_version }}</td>
+ <td>{% with pkg.in_testing as tp %}{% if tp %}
+ <a href="{{ tp.get_absolute_url }}"
+ title="Testing package details for {{ tp.pkgname }}">{{ tp.full_version }}</a>
+ {% endif %}{% endwith %}</td>
<td>{{ pkg.repo.name }}</td>
<td>{{ pkg.arch.name }}</td>
<td>{{ pkg.flag_date|date }}</td>