From d7d01e3c592a68226edc7dfd435913b0f0781ddd Mon Sep 17 00:00:00 2001
From: Dan McGee <dan@archlinux.org>
Date: Mon, 6 Feb 2012 23:43:39 -0600
Subject: Add testing version column to dashboard flagged packages table

As requested in FS#28298.

Signed-off-by: Dan McGee <dan@archlinux.org>
---
 templates/devel/index.html | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'templates/devel')

diff --git a/templates/devel/index.html b/templates/devel/index.html
index 530986ae..04fc5e5a 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>
-- 
cgit v1.2.3-2-g168b