Sha256: f7b182251ebb970dbefa61ce92e6d44feac4afb8496b51ab797d162f4159ebff

Contents?: true

Size: 1.02 KB

Versions: 12

Compression:

Stored size: 1.02 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 %>/info">
              <%= erratum.errata_id %> (<%= hosts.length %> <%= _('Hosts') %>)
            </a>
          </th>
        </tr>

      <% end %>
    </tbody>
  </table>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
katello-3.3.2 app/views/dashboard/_errata_widget.html.erb
katello-3.3.1.1 app/views/dashboard/_errata_widget.html.erb
katello-3.3.1 app/views/dashboard/_errata_widget.html.erb
katello-3.3.0.1 app/views/dashboard/_errata_widget.html.erb
katello-3.3.0 app/views/dashboard/_errata_widget.html.erb
katello-3.3.0.rc2 app/views/dashboard/_errata_widget.html.erb
katello-3.3.0.rc1.1 app/views/dashboard/_errata_widget.html.erb
katello-3.3.0.rc1 app/views/dashboard/_errata_widget.html.erb
katello-3.2.1.1 app/views/dashboard/_errata_widget.html.erb
katello-3.2.1 app/views/dashboard/_errata_widget.html.erb
katello-3.2.0 app/views/dashboard/_errata_widget.html.erb
katello-3.2.0.rc3 app/views/dashboard/_errata_widget.html.erb