diff options
author | Frank Lichtenheld <djpig> | 2004-03-05 19:25:03 +0000 |
---|---|---|
committer | Frank Lichtenheld <djpig> | 2004-03-05 19:25:03 +0000 |
commit | c4554cf13ccb377f55fb34b03ff3678fbe7a4221 (patch) | |
tree | 3d1adb4ec8bba9976ada1b35b36bb387a4012d97 /english/template/debian/security.wml | |
parent | 767cfe74f3b469489757881660981d2b2e0e5fbe (diff) |
* Make package names links to packages.debian.org (Closes: #234686)
* Separate package names with <br /> instead of "," if there are more
than two packages
CVS version numbers
english/template/debian/security.wml: 1.113 -> 1.114
Diffstat (limited to 'english/template/debian/security.wml')
-rw-r--r-- | english/template/debian/security.wml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/english/template/debian/security.wml b/english/template/debian/security.wml index eab28ecc28f..adbba42332b 100644 --- a/english/template/debian/security.wml +++ b/english/template/debian/security.wml @@ -39,7 +39,19 @@ <dt><gettext domain="security">Date Reported</gettext>:</dt> <dd><:= newsdate('<report_date/>') :></dd> <dt><gettext domain="security">Affected Packages</gettext>:</dt> - <dd><packages/></dd> + <dd> +<perl> +my @pkg_links; +foreach my $pkg (split /\s*,\s*/, "<packages/>") { + push @pkg_links, "<a href=\"http://packages.debian.org/src:$pkg\">$pkg</a>"; +} +if ($#pkg_links > 1) { + print join "<br />", @pkg_links; +} else { + print join ", ", @pkg_links; +} +</perl> +</dd> <dt><gettext domain="security">Vulnerable</gettext>:</dt> <dd> <ifeq "<isvulnerable/>" "yes" "<font color="#FF0000"><yes/></font>" /> |