Sha256: c1a7e1e2bb7fd75e7ee4a3480c3ce65083bd11214a18022f2230f38a6e70e368
Contents?: true
Size: 1.04 KB
Versions: 9
Compression:
Stored size: 1.04 KB
Contents
<h4 class="header"> <%= _("Latest Errata") %> </h4> <% organizations = Organization.current.present? ? [Organization.current] : User.current.allowed_organizations %> <% hosts = ::Host::Managed.authorized("view_hosts") %> <% errata = Katello::Erratum.applicable_to_hosts_dashboard(hosts) %> <% 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-fixed table-striped"> <thead> <tr> <th><%= _("Type") %></th> <th><%= _("Errata") %></th> </tr> </thead> <tbody> <% errata.each do |erratum| %> <% hosts = erratum.hosts_applicable %> <tr> <th class="" title="<%= erratum.errata_type %>"><%= erratum.errata_type %></th> <th> <a href="/errata/<%= erratum.uuid %>"> <%= erratum.errata_id %> (<%= n_("%s Host", "%s Hosts", hosts.length) % hosts.length %>) </a> </th> </tr> <% end %> </tbody> </table> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems