X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=templates%2Fhtml%2Fnewpkg.tmpl;h=ba44a442765f46b3ca91c056b4c79c24a1be370f;hb=6f0821dd8ebfb0d378f97f50c56dad79b659b345;hp=0586a6eca606fffb0ec972a4d3ee2a70f984d9de;hpb=2ec757bb58907b15c43548be5601d4f2b8c7caac;p=deb%2Fpackages.git diff --git a/templates/html/newpkg.tmpl b/templates/html/newpkg.tmpl index 0586a6e..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" - html_meta = '' + 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 %]
-