Katello/katello

View on GitHub
app/views/foreman/smart_proxies/show.html.erb

Summary

Maintainability
Test Coverage
<% if @smart_proxy.pulp_mirror? -%>
  <div ng-controller="CapsuleContentController">
    <%= render :template => 'smart_proxies/show' %>
  </div>
<% elsif @smart_proxy.pulp_primary? -%>
  <div ng-controller="PulpPrimaryController">
    <%= render :template => 'smart_proxies/show' %>
  </div>
<% else -%>
  <%= render :template => 'smart_proxies/show' %>
<% end -%>