aboutsummaryrefslogtreecommitdiffstats
path: root/english/template/debian/security.wml
diff options
context:
space:
mode:
authorMatt Kraai <kraai>2004-05-28 17:16:57 +0000
committerMatt Kraai <kraai>2004-05-28 17:16:57 +0000
commitecf64e80abf98dd96decccf2b140b925956ac590 (patch)
tree64644f1799b4c49e5a0be12c3928242d23d65f41 /english/template/debian/security.wml
parent4faad6c59ad979beaf2de291c0bf6e2c68d4d39f (diff)
Omit the "Affected Packages" section if the packages tag is empty.
CVS version numbers english/template/debian/security.wml: 1.119 -> 1.120
Diffstat (limited to 'english/template/debian/security.wml')
-rw-r--r--english/template/debian/security.wml2
1 files changed, 2 insertions, 0 deletions
diff --git a/english/template/debian/security.wml b/english/template/debian/security.wml
index 058e99445f5..9deaaa87666 100644
--- a/english/template/debian/security.wml
+++ b/english/template/debian/security.wml
@@ -46,6 +46,7 @@
<dl compact>
<dt><gettext domain="security">Date Reported</gettext>:</dt>
<dd><:= newsdate('<report_date/>') :></dd>
+<ifneq "<packages/>" "" "
<dt><gettext domain="security">Affected Packages</gettext>:</dt>
<dd>
<perl>
@@ -67,6 +68,7 @@ if ($#pkg_links > 1) {
}
</perl>
</dd>
+"/>
<dt><gettext domain="security">Vulnerable</gettext>:</dt>
<dd>
<ifeq "<isvulnerable/>" "yes" "<font color="#FF0000"><yes/></font>" />

© 2014-2024 Faster IT GmbH | imprint | privacy policy