]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/download.tmpl
Packages::CGI: Remove support for msgs and notes
[deb/packages.git] / templates / html / download.tmpl
index e980f2fb526f0dafc50701eaffc573e90558aba7..4a405f24da53a63ee079e1d9a5b79120b4714891 100644 (file)
@@ -1,5 +1,5 @@
 [%- PROCESS 'html/head.tmpl'
-   title_tag = 'Package Download Selection'
+   title_tag = "Package Download Selection -- $filename.file"
    description = desc
    keywords = "$suite, $archive, $section, $subsection, $version"
    navigation = [ { prefix=>'Distribution:', title=>'Overview over this suite', url=>make_url('/'), name=>suite },
@@ -26,10 +26,16 @@ package manager like <a href="[% make_url('aptitude','','arch','') %]">aptitude<
 packages, instead of doing so manually via this website.</p>
 <p>You should be able to use any of the listed mirrors by adding a
 line to your <kbd>/etc/apt/sources.list</kbd> like this:</p>
+[% IF archive != "security" %]
 <pre>
 deb http://<em>[% mirrors.$archive.europa.0 %]</em> [% suite %] main [% section IF section != main_section %]
 </pre>
 <p>Replacing <em>[% mirrors.$archive.europa.0 %]</em> with the mirror in question.
+[% ELSE %]
+<pre>
+deb http://security.debian.org/debian-security [% suite _ "/updates" %] main [% section IF section != main_section %]
+</pre>
+[%- END %]
 [% IF suite == "experimental" %]
 <h2>Experimental package</h2>
 <p>Warning: This package is from the <strong>experimental</strong> distribution.
@@ -86,10 +92,13 @@ please see our <a href="[% a.mirror_list %]">complete mirror list</a>.</p>
 [% END %]
 
 [% IF a.unofficial_port %]
-[% SET port = a.unofficial_port %]
+[% SET port = a.unofficial_port.$architecture %]
+[% IF port.url_name;
+   SET port.url = ports_url _ port.url_name _ '/';
+   END -%]
 <p style="clear:both">Note that [% port.name %] is not officially included in the [% organisation %] archive yet,
 but the [% port.name %] porter group keeps their archive in sync with the official archive as close as possible.
-See the <a href="[% ports_url _ port.url_name _ '/' %]">[% port.name %] ports page</a> for current information.</p>
+See the <a href="[% port.url %]">[% port.name %] ports page</a> for current information.</p>
 [% END %]
 
 <p>Note that in some browsers you will need to tell your browser you want the file saved to a file.
@@ -104,3 +113,5 @@ For example, in Firefox or Mozilla, you should hold the Shift key when you click
 <tr><th>SHA1 checksum</th>             <td><tt>[% sha1 || 'Not Available' %]</tt></td>
 <tr><th>SHA256 checksum</th>           <td><tt>[% sha256  || 'Not Available' %]</tt></td>
 </table>
+
+[%- PROCESS 'html/foot.tmpl' -%]