aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/advisory.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-06-18 15:48:20 +0000
committerNicolas Vigier <boklm@mageia.org>2013-06-18 15:48:20 +0000
commit181db0967f7937a103314d40db2e688804ad820e (patch)
tree069f020e34f4fbe9662d2ef2abb668a419faf096 /tmpl/advisory.html
parent596d292488107928fa974c2c6f33279d62b2a368 (diff)
downloadmgaadvisories-181db0967f7937a103314d40db2e688804ad820e.tar
mgaadvisories-181db0967f7937a103314d40db2e688804ad820e.tar.gz
mgaadvisories-181db0967f7937a103314d40db2e688804ad820e.tar.bz2
mgaadvisories-181db0967f7937a103314d40db2e688804ad820e.tar.xz
mgaadvisories-181db0967f7937a103314d40db2e688804ad820e.zip
Add CVE links in references
Diffstat (limited to 'tmpl/advisory.html')
-rw-r--r--tmpl/advisory.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/tmpl/advisory.html b/tmpl/advisory.html
index 1e984c8..f0a6a52 100644
--- a/tmpl/advisory.html
+++ b/tmpl/advisory.html
@@ -39,6 +39,11 @@
[% FOREACH ref IN adv.references -%]
<li><a href="[% ref %]">[% ref %]</a></li>
[% END %]
+ [%- IF adv.CVE -%]
+ [%- FOREACH cve IN adv.CVE.list -%]
+ <li><a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% cve %]">http://cve.mitre.org/cgi-bin/cvename.cgi?name=[% cve %]</a></li>
+ [%- END -%]
+ [%- END -%]
</ul>
<h2>SRPMS</h2>