<% if @smart_proxy.pulp_mirror? -%>
<%= render :file => 'smart_proxies/show' %>
<% elsif @smart_proxy.pulp_primary? -%>
<%= render :file => 'smart_proxies/show' %>
<% end -%>