diff options
author | 2015-03-14 16:26:11 +0100 | |
---|---|---|
committer | 2015-03-14 16:26:11 +0100 | |
commit | c0616f813c3324650a6b752b2d2051bc0b7b98c3 (patch) | |
tree | 70c454861a40ff9275211a613c50f357640477b0 | |
parent | Rework date handling (diff) | |
download | security-c0616f813c3324650a6b752b2d2051bc0b7b98c3.tar.gz security-c0616f813c3324650a6b752b2d2051bc0b7b98c3.tar.bz2 security-c0616f813c3324650a6b752b2d2051bc0b7b98c3.zip |
Fix vulnerable/unaffected version order
-rw-r--r-- | views/glsa/glsav1.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/glsa/glsav1.erb b/views/glsa/glsav1.erb index d274fa0..a01f769 100644 --- a/views/glsa/glsav1.erb +++ b/views/glsa/glsav1.erb @@ -22,11 +22,11 @@ </tr> <tr class="danger"> <th>Affected versions</th> - <td><%= data[:unaffected].map { |ver| "%s <strong>%s</strong>" % [h(reverse_xml_comp(ver[0])), h(ver[1])] }.join ', ' %></td> + <td><%= data[:vulnerable].map { |ver| "%s <strong>%s</strong>" % [h(reverse_xml_comp(ver[0])), h(ver[1])] }.join ', ' %></td> </tr> <tr class="success"> <th>Unaffected versions</th> - <td><%= data[:vulnerable].map { |ver| "%s <strong>%s</strong>" % [h(reverse_xml_comp(ver[0])), h(ver[1])] }.join ', ' %></td> + <td><%= data[:unaffected].map { |ver| "%s <strong>%s</strong>" % [h(reverse_xml_comp(ver[0])), h(ver[1])] }.join ', ' %></td> </tr> </table> <% end %> |