1 [%- PROCESS 'html/head.tmpl'
2 title_tag = g('New Packages in "%s"', suite)
4 keywords = "$suite, new packages, $section"
5 rss_alternate = 'newpkg?format=rss'
7 <h1>[% g('New Packages in "%s"', suite) %]</h1>
11 g('The following packages were added to suite <em>%s</em> (section %s) in the %s archive during the last 7 days.',
12 suite, section, organisation);
14 g('The following packages were added to suite <em>%s</em> in the %s archive during the last 7 days.',
17 IF opts.mode == 'byage';
18 g(' You can also display this list <a href="%s">sorted by name</a>.', make_url('newpkg','','mode',''));
20 g(' You can also display this list <a href="%s">sorted by age</a>.', make_url('newpkg','mode=byage'));
22 <p>[% g('This information is also available as an <a href="newpkg?format=rss">RSS feed</a>') %]
23 <a href="newpkg?format=rss"><img src="http://planet.debian.org/rss10.png" alt="[% g('[RSS 1.0 Feed]') %]"></a></p>
25 [% FOREACH pkg IN new_packages %]
26 [% '<ul>' IF loop.first %]
27 <li><a href="[% pkg.0 %]">[% pkg.0 %]</a>
28 -- [% pkg.-1 | html %][% g(' <em>(%u days old)</em>', pkg.1) IF pkg.1 %]
29 [% '</ul>' IF loop.last %]
32 <p class="psmallcenter"><a href="[% make_url('allpackages','') %]" title="[% g('List of all packages') %]">[% g('All packages') %]</a><br>
33 (<a href="[% make_url('allpackages','','format','txt.gz' ) %]">[% g('compact compressed textlist') %]</a>)<br>
34 [% g('New packages in ') %]
35 [% FOREACH s IN sections %]
36 [%- IF s == section -%]
39 <a href="[% '../' IF section %][% s %]/newpkg">[% s %]</a>
41 [% ', ' UNLESS loop.last %]
45 [%- PROCESS 'html/foot.tmpl' page_name=section ? "$section/newpkg" : "newpkg" -%]