Point download links directly at the ftp server

Instead of going through a redirector now that it doesn't add
any actual logic at all to the processing...
This commit is contained in:
Magnus Hagander
2011-11-06 12:01:33 +01:00
parent 47c09a5a57
commit 9255288c9e
2 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,7 @@
<div id="pgFtpContent">
<table border="0" cellpadding="0" cellspacing="0" width="90%">
{%for file in files%}
<tr><td><a href="/download/mirrors-ftp/{{basepath}}/{{file.name}}"><img src="/media/img/ftp/file.png" alt="{{file.name}}" /></a>&nbsp;<a href="/download/mirrors-ftp/{{basepath}}/{{file.name}}">{{file.name}}</a></td><td>{{file.mtime}}</td><td>{{file.size|filesizeformat}}</td></tr>
<tr><td><a href="http://ftp.postgresql.org/pub/{{basepath}}/{{file.name}}"><img src="/media/img/ftp/file.png" alt="{{file.name}}" /></a>&nbsp;<a href="http://ftp.postgresql.org/pub/{{basepath}}/{{file.name}}">{{file.name}}</a></td><td>{{file.mtime}}</td><td>{{file.size|filesizeformat}}</td></tr>
{%endfor%}
</table>
</div>

View File

@ -77,8 +77,7 @@ that you may find useful.</p>
downloading software, you can observe or participate in the development activities of the projects that interest you.</p>
<h2>File Browser</h2>
<p>You can download most of the software we publish from a mirror site using our <a href="/ftp/">File Browser</a>. If you prefer,
you can browse the <a href="{master_server}/download/mirrors-ftp">download mirrors</a> directly.</p>
<p>You can download most of the software we publish from a mirror site using our <a href="/ftp/">File Browser</a>.</p>
</div>
{%endblock%}