X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fhtml%2Fnewpkg.tmpl;h=e8c5d3ee0af12d4aee6ac79dccfe699029f6be7e;hp=cfa6bd3288abe316bd5c409d9257033f95c5f198;hb=89c17478db69effd1c96f4e284ad46f5b4d72c17;hpb=41ab743eae0a7875cf03a8b50a060da06af30b39 diff --git a/templates/html/newpkg.tmpl b/templates/html/newpkg.tmpl index cfa6bd3..e8c5d3e 100644 --- a/templates/html/newpkg.tmpl +++ b/templates/html/newpkg.tmpl @@ -1,25 +1,37 @@ [%- PROCESS 'html/head.tmpl' - title_tag = "New Packages in \"$suite\"" + title_tag = g('New Packages in "%s"', suite) description = desc keywords = "$suite, new packages, $section" rss_alternate = 'newpkg?format=rss' -%] -

New Packages in "[% suite %]"

+

[% g('New Packages in "%s"', suite) %]

-

The following packages were added to suite [% suite %][% " (section $section)" IF section %] in the [% organisation %] archive during the last 7 days.

-

This information is also available as an RSS feed -[RSS 1.0 Feed]

+

+[% IF section; + g('The following packages were added to suite %s (section %s) in the %s archive during the last 7 days.', + suite, section, organisation); + ELSE; + g('The following packages were added to suite %s in the %s archive during the last 7 days.', + suite, organisation); + END; + IF opts.mode == 'byage'; + g(' You can also display this list sorted by name.', make_url('newpkg','','mode','')); + ELSE; + g(' You can also display this list sorted by age.', make_url('newpkg','mode=byage')); + END %]

+

[% g('This information is also available as an RSS feed') %] +[% g('[RSS 1.0 Feed]') %]

[% FOREACH pkg IN new_packages %] [% '' IF loop.last %] [% END %] -

All packages
-(compact compressed textlist)
- New packages in +

[% g('All packages') %]
+([% g('compact compressed textlist') %])
+ [% g('New packages in ') %] [% FOREACH s IN sections %] [%- IF s == section -%] [% s %] @@ -28,4 +40,6 @@ [%- END -%] [% ', ' UNLESS loop.last %] [% END %] -

\ No newline at end of file +

+ +[%- PROCESS 'html/foot.tmpl' page_name=section ? "$section/newpkg" : "newpkg" -%]