Sha256: f81edbcc6c5ba92b2685107a127bf46ce9c39cb50a99d1bcb9de67c32a7e6e32
Contents?: true
Size: 1.1 KB
Versions: 8
Compression:
Stored size: 1.1 KB
Contents
<h4 class="header"> <%= _("Latest Errata") %> </h4> <% organizations = Organization.current.present? ? [Organization.current] : User.current.allowed_organizations %> <% systems = Katello::System.in_organizations(organizations).readable %> <% errata = Katello::Erratum.applicable_to_systems(systems).order('updated desc').limit(6) %> <% if errata.empty? %> <p class="ca"><%= _("There are no errata that need to be applied to registered content hosts.") %></p> <% else %> <table class="table table-striped ellipsis"> <thead> <tr> <th>Type</th> <th>Errata</th> </tr> </thead> <tbody> <% errata.each do |erratum| %> <% content_hosts = erratum.systems_applicable.in_organizations(organizations).readable %> <tr> <th class="" title="<%= erratum.errata_type %>"><%= erratum.errata_type %></th> <th> <a href="/errata/<%= erratum.uuid %>/info"> <%= erratum.errata_id %> (<%= content_hosts.length %> _('Content Hosts'))) </a> </th> </tr> <% end %> </tbody> </table> <% end %>
Version data entries
8 entries across 8 versions & 1 rubygems