<%= _("Please select an organization to view subscription status.") %>
<% else %> <% owner_info = Organization.current.owner_info %> <% invalid_consumer_count = owner_info.total_invalid_compliance_consumers %> <% partial_consumer_count = owner_info.total_partial_compliance_consumers %> <% valid_consumer_count = owner_info.total_valid_compliance_consumers %> <% total_count = owner_info.total_consumers %> <% subscription_status_url = '/content_hosts?search=' + ERB::Util.url_encode('subscription_status = ') %><%= _("Count") %> | |
---|---|
<%= link_to("#{subscription_status_url}" + 'invalid') do %> <%= _("Invalid") %> <% end %> | <%= link_to( "#{invalid_consumer_count}", "#{subscription_status_url}" + 'invalid')%> |
<%= link_to("#{subscription_status_url}" + 'partial') do %> <%= _("Partial") %> <% end %> | <%= link_to( "#{partial_consumer_count}", "#{subscription_status_url}" + 'partial')%> |
<%= link_to("#{subscription_status_url}" + 'valid') do %> <%= _("Valid") %> <% end %> | <%= link_to( "#{valid_consumer_count}", "#{subscription_status_url}" + 'valid')%> |
<%= link_to("Total Content Hosts", '/content_hosts')%> |
<%= link_to( "#{total_count}", '/content_hosts')%> |