<% view_title @topic.topic_name %> <%== partial 'topics/tabs' %> <% if @limited %> <%== partial 'topics/distribution/limited' %> <% end %> <% if @aggregated.sum.zero? %> <%== partial 'topics/distribution/empty_partitions' %> <% else %>
<% if @active_partitions.size >= 2 %> <%== partial 'topics/distribution/chart' %> <% end %>
<%== partial 'topics/distribution/badges' %>
<%== each_partial( @distribution, 'topics/distribution/partition' ) %>
<%== sort_link(:partition_id) %> <%== sort_link('Estimated count', :count) %> <%== sort_link('Total share', :share) %> <%== sort_link(:diff) %>
<% end %>