aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <a3li@gentoo.org>2011-10-16 17:11:08 +0200
committerAlex Legler <a3li@gentoo.org>2011-10-16 17:11:08 +0200
commit579b100a42657a36f3a8b7b4758b19d0f7532cae (patch)
tree5b7dc72d52594fcbe5add905c1a6bac87daa61ca
parentRedo the HTML show view, clean up, apply proper formatting (diff)
downloadglsamaker-579b100a42657a36f3a8b7b4758b19d0f7532cae.tar.gz
glsamaker-579b100a42657a36f3a8b7b4758b19d0f7532cae.tar.bz2
glsamaker-579b100a42657a36f3a8b7b4758b19d0f7532cae.zip
Add missing <ul>
-rw-r--r--app/views/glsa/show.html.erb16
1 files changed, 10 insertions, 6 deletions
diff --git a/app/views/glsa/show.html.erb b/app/views/glsa/show.html.erb
index c19be02..20e8e49 100644
--- a/app/views/glsa/show.html.erb
+++ b/app/views/glsa/show.html.erb
@@ -88,17 +88,21 @@
<tr class="odd">
<th class="left"><%= image_tag 'icons/unaffected.png' %> Unaffected packages</th>
<td>
- <% @rev.packages.each do |pkg| ; next unless pkg.my_type == "unaffected" %>
- <li><%= pkg.comp %><strong><%= pkg.atom %></strong>-<%= pkg.version %> on <%= pkg.arch %> (auto: <%= pkg.automatic %>)</li>
- <% end %>
+ <ul>
+ <% @rev.packages.each do |pkg| ; next unless pkg.my_type == "unaffected" %>
+ <li><%= pkg.comp %><strong><%= pkg.atom %></strong>-<%= pkg.version %> on <%= pkg.arch %> (auto: <%= pkg.automatic %>)</li>
+ <% end %>
+ </ul>
</td>
</tr>
<tr>
<th class="left"><%= image_tag 'icons/affected.png' %> Vulnerable packages</th>
<td>
- <% @rev.packages.each do |pkg| ; next unless pkg.my_type == "vulnerable" %>
- <li><%= pkg.comp %><strong><%= pkg.atom %></strong>-<%= pkg.version %> on <%= pkg.arch %> (auto: <%= pkg.automatic %>)</li>
- <% end %>
+ <ul>
+ <% @rev.packages.each do |pkg| ; next unless pkg.my_type == "vulnerable" %>
+ <li><%= pkg.comp %><strong><%= pkg.atom %></strong>-<%= pkg.version %> on <%= pkg.arch %> (auto: <%= pkg.automatic %>)</li>
+ <% end %>
+ </ul>
</td>
</tr>
<tr class="odd">