]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/newpkg.tmpl
Packages::CGI: Remove support for msgs and notes
[deb/packages.git] / templates / html / newpkg.tmpl
index cfa6bd3288abe316bd5c409d9257033f95c5f198..0f36b4cf807aa7b568f58113791801056ef4cc2e 100644 (file)
@@ -6,7 +6,12 @@
 -%]
 <h1>New Packages in "[% suite %]"</h1>
 
-<p>The following packages were added to suite <em>[% suite %]</em>[% " (section $section)" IF section %] in the [% organisation %] archive during the last 7 days.</p>
+<p>The following packages were added to suite <em>[% suite %]</em>[% " (section $section)" IF section %] in the [% organisation %] archive during the last 7 days. You can also display this list
+[%- IF opts.mode == 'byage' %]
+ <a href="[% make_url('newpkg','','mode','') %]">sorted by name</a>
+[%- ELSE %]
+ <a href="[% make_url('newpkg','mode=byage') %]">sorted by age</a>
+[%- END %].</p>
 <p>This information is also available as an <a href="newpkg?format=rss">RSS feed</a>
 <a href="newpkg?format=rss"><img src="http://planet.debian.org/rss10.png" alt="[RSS 1.0 Feed]"></a></p>
 
@@ -28,4 +33,6 @@
   [%- END -%]
 [% ', ' UNLESS loop.last %]
 [% END %]
-</p>
\ No newline at end of file
+</p>
+
+[%- PROCESS 'html/foot.tmpl' -%]