]> git.deb.at Git - deb/packages.git/blob - templates/html/newpkg.tmpl
The Big, the Fat and the Ugly commit ;)
[deb/packages.git] / templates / html / newpkg.tmpl
1 [%- PROCESS 'html/head.tmpl'
2    title_tag = "New Packages in \"$suite\""
3    description = desc
4    keywords = "$suite, new packages, $section"
5    html_meta = '<link rel="alternate" type="application/rss+xml" title="RSS" href="newpkg?format=rss">'
6 -%]
7 <h1>New Packages in "[% suite %]"</h1>
8
9 <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>
10 <p>This information is also available as an <a href="newpkg?format=rss">RSS feed</a>
11 <a href="newpkg?format=rss"><img src="http://planet.debian.org/rss10.png" alt="[RSS 1.0 Feed]"></a></p>
12
13 [% FOREACH pkg IN new_packages %]
14         [% '<ul>' IF loop.first %]
15         <li><a href="[% pkg.0 %]">[% pkg.0 %]</a>
16         -- [% pkg.-1 | html %][% " <em>($pkg.1 days old)</em>" IF pkg.1 %]
17         [% '</ul>' IF loop.last %]
18 [% END %]
19
20 <p class="psmallcenter"><a href="[% make_url('allpackages','') %]" title="List of all packages">All packages</a><br>
21 (<a href="[% make_url('allpackages','','format','txt.gz' ) %]">compact compressed textlist</a>)<br>
22   New packages in 
23 [% FOREACH s IN sections %]
24   [%- IF s == section -%]
25 [% s %]
26   [%- ELSE -%]
27 <a href="[% '../' IF section %][% s %]/newpkg">[% s %]</a>
28   [%- END -%]
29 [% ', ' UNLESS loop.last %]
30 [% END %]
31 </p>