diff options
author | Dan McGee <dan@archlinux.org> | 2010-08-04 14:05:39 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-08-04 14:06:49 +0200 |
commit | 8e1b9a8424eb96df27f13ef61846f884e113a431 (patch) | |
tree | 7acde607e035ccca45eb142d2775f7b69879b7fd /templates/packages/details.html | |
parent | 7bb61331e3673b8de6179897eeb812ac1e197b88 (diff) | |
download | archweb-8e1b9a8424eb96df27f13ef61846f884e113a431.tar.gz archweb-8e1b9a8424eb96df27f13ef61846f884e113a431.tar.xz |
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/details.html')
-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 3590f3c..932b1a2 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> |