Sha256: 3362f01a8eeac4337a07503e78b4fb2e3dd92ba9943454215ad8c890a82d9527

Contents?: true

Size: 1.01 KB

Versions: 12

Compression:

Stored size: 1.01 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(hosts).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-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.1.0.1 app/views/dashboard/_errata_widget.html.erb
katello-3.1.0 app/views/dashboard/_errata_widget.html.erb
katello-3.1.0.rc2.1 app/views/dashboard/_errata_widget.html.erb
katello-3.0.2 app/views/dashboard/_errata_widget.html.erb
katello-3.1.0.rc1 app/views/dashboard/_errata_widget.html.erb
katello-3.0.1 app/views/dashboard/_errata_widget.html.erb
katello-3.0.0 app/views/dashboard/_errata_widget.html.erb
katello-3.0.0.rc7 app/views/dashboard/_errata_widget.html.erb
katello-3.0.0.rc5 app/views/dashboard/_errata_widget.html.erb
katello-3.0.0.rc4 app/views/dashboard/_errata_widget.html.erb
katello-3.0.0.rc3 app/views/dashboard/_errata_widget.html.erb
katello-3.0.0.rc2 app/views/dashboard/_errata_widget.html.erb