diff options
author | Dan McGee <dan@archlinux.org> | 2010-08-04 07:05:39 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-08-04 07:06:49 -0500 |
commit | 8e1b9a8424eb96df27f13ef61846f884e113a431 (patch) | |
tree | 7acde607e035ccca45eb142d2775f7b69879b7fd /templates/packages | |
parent | 7bb61331e3673b8de6179897eeb812ac1e197b88 (diff) |
Add more information to "package in testing" text
Make it a link to the testing package itself, and add a title so we have
these attributes on every link.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages')
-rw-r--r-- | templates/packages/details.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html index 3590f3c6..932b1a22 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -16,8 +16,11 @@ <li><a href="{{ pkg.get_bugs_link }}" title="View existing bug tickets for {{ pkg.pkgname }}">Bug Reports</a></li> {% if pkg.flag_date %} <li><span class="flagged">Package has been flagged out-of-date</span></li> - {% with pkg.in_testing as testingpkg %}{% if testingpkg %} - <li><span class="flagged">Package has version in testing</span></li> + {% with pkg.in_testing as tp %}{% if tp %} + <li><span class="flagged">Version + <a href="{{ tp.get_absolute_url }}" + title="Testing package details for {{ tp.pkgname }}">{{ tp.pkgver }}-{{ tp.pkgrel }}</a> + in testing</span></li> {% endif %}{% endwith %} {% if user.is_authenticated %} <li><a href="unflag/" title="Unflag this package">Click here to unflag</a></li> |