<%= _("Please select an organization to view subscription status.") %>
<% else %> <% total_count = total_host_count() %> <% partial_consumer_count = partial_consumer_count() %> <% valid_consumer_count = valid_consumer_count()%> <% invalid_consumer_count = invalid_consumer_count()%> <% unknown_consumer_count = unknown_consumer_count() %> <% unregistered_consumer_count = total_count-partial_consumer_count-valid_consumer_count-invalid_consumer_count%> <% subscription_status_url = '/content_hosts?search='%> <% registered_subscription_url = subscription_status_url + ERB::Util.url_encode('subscription_status = ') %><%= _("Count") %> | |
---|---|
<%= link_to("#{registered_subscription_url}" + 'invalid') do %> <%= _("Invalid") %> <% end %> | <%= link_to( "#{invalid_consumer_count}", "#{registered_subscription_url}" + 'invalid')%> |
<%= link_to("#{registered_subscription_url}" + 'partial') do %> <%= _("Partial") %> <% end %> | <%= link_to( "#{partial_consumer_count}", "#{registered_subscription_url}" + 'partial')%> |
<%= link_to("#{registered_subscription_url}" + 'valid') do %> <%= _("Valid") %> <% end %> | <%= link_to( "#{valid_consumer_count}", "#{registered_subscription_url}" + 'valid')%> |
<%= link_to("#{registered_subscription_url}" + 'unknown') do %> <%= _("Unknown") %> <% end %> | <%= link_to( "#{unknown_consumer_count}", "#{registered_subscription_url}" + 'unknown')%> |
<%= link_to("#{subscription_status_url}" + 'null? subscription_uuid') do %> <%= _("Unregistered") %> <% end %> | <%= link_to( "#{unregistered_consumer_count}", "#{subscription_status_url}" + 'null? subscription_uuid')%> |
<%= link_to("Total Content Hosts", '/content_hosts')%> |
<%= link_to( "#{total_count}", '/content_hosts')%> |