From a6b0759c90c35aae73ae5b4bdc2ca069e768ee7e Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sun, 2 Sep 2007 21:53:50 +0000 Subject: [PATCH] html/newpkg.tmpl: Expose mode=byage in UI --- templates/html/newpkg.tmpl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/html/newpkg.tmpl b/templates/html/newpkg.tmpl index 016dcb5..0f36b4c 100644 --- a/templates/html/newpkg.tmpl +++ b/templates/html/newpkg.tmpl @@ -6,7 +6,12 @@ -%]

New Packages in "[% suite %]"

-

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

+

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 [RSS 1.0 Feed]

-- 2.39.2