X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fnewpkg.tmpl;h=ba44a442765f46b3ca91c056b4c79c24a1be370f;hb=2b7709d2271f339165fb401ef02085d23af5db18;hp=cfa6bd3288abe316bd5c409d9257033f95c5f198;hpb=41ab743eae0a7875cf03a8b50a060da06af30b39;p=deb%2Fpackages.git diff --git a/templates/html/newpkg.tmpl b/templates/html/newpkg.tmpl index cfa6bd3..ba44a44 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' -%] -
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 -
++[% 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') %] +
[% FOREACH pkg IN new_packages %] [% '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 %]
-