X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=templates%2Fhtml%2Fnewpkg.tmpl;h=ba44a442765f46b3ca91c056b4c79c24a1be370f;hb=3c23d3c33f0156509fd3d2803cc18e77d43c1b28;hp=0f36b4cf807aa7b568f58113791801056ef4cc2e;hpb=a6b0759c90c35aae73ae5b4bdc2ca069e768ee7e;p=deb%2Fpackages.git diff --git a/templates/html/newpkg.tmpl b/templates/html/newpkg.tmpl index 0f36b4c..ba44a44 100644 --- a/templates/html/newpkg.tmpl +++ b/templates/html/newpkg.tmpl @@ -1,30 +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. You can also display this list -[%- IF opts.mode == 'byage' %] - sorted by name -[%- ELSE %] - sorted by age -[%- END %].
-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 %]
@@ -35,4 +42,4 @@
[% END %]