]> git.deb.at Git - deb/packages.git/blob - templates/html/newpkg.tmpl
html/show.tmpl: Improve Homepage link
[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    rss_alternate = '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. You can also display this list
10 [%- IF opts.mode == 'byage' %]
11  <a href="[% make_url('newpkg','','mode','') %]">sorted by name</a>
12 [%- ELSE %]
13  <a href="[% make_url('newpkg','mode=byage') %]">sorted by age</a>
14 [%- END %].</p>
15 <p>This information is also available as an <a href="newpkg?format=rss">RSS feed</a>
16 <a href="newpkg?format=rss"><img src="http://planet.debian.org/rss10.png" alt="[RSS 1.0 Feed]"></a></p>
17
18 [% FOREACH pkg IN new_packages %]
19         [% '<ul>' IF loop.first %]
20         <li><a href="[% pkg.0 %]">[% pkg.0 %]</a>
21         -- [% pkg.-1 | html %][% " <em>($pkg.1 days old)</em>" IF pkg.1 %]
22         [% '</ul>' IF loop.last %]
23 [% END %]
24
25 <p class="psmallcenter"><a href="[% make_url('allpackages','') %]" title="List of all packages">All packages</a><br>
26 (<a href="[% make_url('allpackages','','format','txt.gz' ) %]">compact compressed textlist</a>)<br>
27   New packages in 
28 [% FOREACH s IN sections %]
29   [%- IF s == section -%]
30 [% s %]
31   [%- ELSE -%]
32 <a href="[% '../' IF section %][% s %]/newpkg">[% s %]</a>
33   [%- END -%]
34 [% ', ' UNLESS loop.last %]
35 [% END %]
36 </p>
37
38 [%- PROCESS 'html/foot.tmpl' -%]