ManageIQ/manageiq-ui-classic

View on GitHub
app/views/host_aggregate/show.html.haml

Summary

Maintainability
Test Coverage
#main_div
  - if @showtype == "performance"
    = render :partial => "layouts/performance_async"
  - else
    - if %w(instances hosts).include?(@display)
      = render :partial => "layouts/gtl", :locals => {:action_url => "show/#{@record.id}"}
    - elsif @showtype == "item"
      = render :partial => "layouts/item"
    - elsif @showtype == "main"
      = render :partial => "layouts/textual_groups_generic"