summaryrefslogtreecommitdiff
path: root/templates/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-05-26 10:47:43 -0500
committerDan McGee <dan@archlinux.org>2010-05-26 10:50:03 -0500
commitdebec14b736162c65421ee1bace3adb049746ed4 (patch)
tree1f532f8e36c2055ba0fb5d7372b72514b5fc6f5a /templates/packages
parent5866498603eb8cc7d194bff39e01a45b11ba36d3 (diff)
Add ability to download package from web interface
After adding filename to the database, this is a rather simple request (see FS#19546). Right now the "randomly" chosen mirror happens to always be mirrors.kernel.org as it is the only one filed under the 'Any' country which is what we screen on. Perhaps this logic could be improved in the future but I don't see these links being all that high traffic anyway. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages')
-rw-r--r--templates/packages/details.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index c7945b25..45394770 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -28,6 +28,7 @@
'height=350,width=450,location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=no');">(?)</a>
{% endif %}
</li>
+ <li><a href="download/" title="Download {{ pkg.pkgname }} from mirror">Download From Mirror</a></li>
</ul>
{% if user.is_authenticated %}