Sha256: 0f7fe1857811d6129c5e9cae4d2cbf405feca4e748fad87fce6d950bc41ccd0c

Contents?: true

Size: 747 Bytes

Versions: 10

Compression:

Stored size: 747 Bytes

Contents

<style>
  .circle{ border-radius: 50%; width: 10px; height: 10px; display: inline-block; margin-right: 10px;}
  .circle:after { content: " "; }
  .circle.valid { background: #57a81c; }
  .circle.partial { background: #fc3; }
  .circle.invalid { background: #9e292b; }
</style>

<tr>
  <td><%= _("Subscription status") %></td>
  <td>
    <% if (@host.content_host && compliance_status = @host.content_host.compliance['status']) %>
      <i class=<%= "circle #{compliance_status}" %> ></i>
      <%= link_to(
            compliance_status,
            "/content_hosts/#{@host.content_host.uuid}/subscriptions",
            :title => _("Host subscription details"))
      %>
    <% else %>
      <%= _("Not available") %>
    <% end %>
  </td>
</tr>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
katello-2.4.5 app/overrides/foreman/hosts/_subscription_status.html.erb
katello-2.4.4 app/overrides/foreman/hosts/_subscription_status.html.erb
katello-2.4.3 app/overrides/foreman/hosts/_subscription_status.html.erb
katello-2.4.2 app/overrides/foreman/hosts/_subscription_status.html.erb
katello-2.4.1 app/overrides/foreman/hosts/_subscription_status.html.erb
katello-2.4.0 app/overrides/foreman/hosts/_subscription_status.html.erb
katello-2.4.0.rc3 app/overrides/foreman/hosts/_subscription_status.html.erb
katello-2.4.0.rc2 app/overrides/foreman/hosts/_subscription_status.html.erb
katello-2.4.0.rc1 app/overrides/foreman/hosts/_subscription_status.html.erb
katello-2.2.2 app/overrides/foreman/hosts/_subscription_status.html.erb