diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-06 18:53:46 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-06 18:53:46 -0500 |
commit | 2d7bc3f322ee96a4a4e58c635ea67746bd28a810 (patch) | |
tree | ab7f457f03963844889575d0a72b7f471cf5e65c | |
parent | b6fb5e02e5c5868e76eecd93e7d742dcd0a57466 (diff) |
Add note to package when version is in testing
And the package has been flagged out of date. Should make people relax a
bit.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | templates/packages/details.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html index 3001709d..d81e745e 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -13,21 +13,21 @@ <li><a href="{{ pkg.get_arch_svn_link }}" title="View SVN entries in the {{pkg.repo|lower}}-{{pkg.arch}} branch">SVN Entries ({{pkg.repo|lower}}-{{pkg.arch}})</a></li> <li><a href="{{ pkg.get_trunk_svn_link }}" title="View SVN entries on trunk">SVN Entries (trunk)</a></li> <li><a href="{{ pkg.get_bugs_link }}" title="View existing bug tickets for {{ pkg.pkgname }}">Bug Reports</a></li> - <li> {% if pkg.flag_date %} - <span class="flagged">This package has been flagged out-of-date</span> - {% if user.is_authenticated %} - <br /> <a href="unflag/" - title="Unflag this package">Click here to unflag</a> - {% endif %} + <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> + {% endif %}{% endwith %} + {% if user.is_authenticated %} + <li><a href="unflag/" title="Unflag this package">Click here to unflag</a></li> + {% endif %} {% else %} - <a href="flag/" title="Flag {{ pkg.pkgname }} as out-of-date">Flag Package Out-of-Date</a> + <li><a href="flag/" title="Flag {{ pkg.pkgname }} as out-of-date">Flag Package Out-of-Date</a> <a href="/packages/flaghelp/" title="Get help on package flagging" onclick="return !window.open('/packages/flaghelp','FlagHelp', - 'height=350,width=450,location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=no');">(?)</a> + 'height=350,width=450,location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=no');">(?)</a></li> {% endif %} - </li> <li><a href="download/" title="Download {{ pkg.pkgname }} from mirror">Download From Mirror</a></li> </ul> |