Add testing version column to dashboard flagged packages table

As requested in FS#28298.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2012-02-06 23:43:39 -06:00
parent 7977214c57
commit d7d01e3c59

View File

@ -16,6 +16,7 @@ <h3>My Flagged Packages</h3>
<tr>
<th>Name</th>
<th>Version</th>
<th>Testing Version</th>
<th>Repo</th>
<th>Arch</th>
<th>Flagged</th>
@ -27,6 +28,10 @@ <h3>My Flagged Packages</h3>
<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>