]> git.deb.at Git - deb/packages.git/blob - templates/html/newpkg.tmpl
Some fixes for Polish translation.
[deb/packages.git] / templates / html / newpkg.tmpl
1 [%- PROCESS 'html/head.tmpl'
2    title_tag = g('New Packages in "%s"', suite)
3    description = desc
4    keywords = "$suite, new packages, $section"
5    rss_alternate = 'newpkg?format=rss'
6 -%]
7 <h1>[% g('New Packages in "%s"', suite) %]</h1>
8
9 <p>
10 [% IF section;
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);
13    ELSE;
14         g('The following packages were added to suite <em>%s</em> in the %s archive during the last 7 days.',
15         suite, organisation);
16    END;
17    IF opts.mode == 'byage';
18         g(' You can also display this list <a href="%s">sorted by name</a>.', make_url('newpkg','','mode',''));
19    ELSE;
20         g(' You can also display this list <a href="%s">sorted by age</a>.', make_url('newpkg','mode=byage'));
21    END %]</p>
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/common/rss10.png" alt="[% g('[RSS 1.0 Feed]') %]"></a></p>
24
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 %]
30 [% END %]
31
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 -%]
37 [% s %]
38   [%- ELSE -%]
39 <a href="[% '../' IF section %][% s %]/newpkg">[% s %]</a>
40   [%- END -%]
41 [% ', ' UNLESS loop.last %]
42 [% END %]
43 </p>
44
45 [%- PROCESS 'html/foot.tmpl' page_name=section ? "$section/newpkg" : "newpkg" -%]