diff options
author | Thomas Bächler <thomas@archlinux.org> | 2009-10-17 23:47:09 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2009-10-17 23:47:09 +0200 |
commit | 71d79f133b8b656f93573569f65a9eab052f0d3f (patch) | |
tree | 7ad06409d3c7c1c7f52dfe8ad6bacf89e90cb03d /templates/packages | |
parent | bcda0ab66b9722ae15c10645aa44bb1099d79a93 (diff) |
Port archweb_pub commit 1f96c7a1182ef75279c18986b708e683f89dd690 to archweb_dev. This is the original commit message by Dan:
"Make package SVN links always work
This should clean up the links for all varieties of things- different arches
(including any), different repos (community and community-testing), and
split packages. All of the logic is in one place now and any further changes
should be made to the method on the package object."
Diffstat (limited to 'templates/packages')
-rw-r--r-- | templates/packages/details.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html index 71218ead..30c8f6a4 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -7,7 +7,7 @@ <h2 class="title">{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</h2> <div style="float:right" class="listing"> <ul class="small"> - <li><a href="http://repos.archlinux.org/viewvc.cgi/{{ pkg.pkgname }}/repos/{{ pkg.repo.name|lower }}-{{ pkg.arch.name|lower }}/{{ rootopt }}">View SVN Entries</a></li> + <li><a href="{{ pkg.get_svn_link }}">View SVN Entries</a></li> <!-- <li><a href="/packages/files/{{ pkg.id }}/">View File List</a></li> --> {% if pkg.needupdate %} <li> |