ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
Test Coverage
#main_div
  - if ["instances"].include?(@display) && @showtype != "compare"
    = render :partial => "layouts/gtl", :locals => {:action_url => "show/#{@record.id}"}
  - elsif @showtype == "compare"
    = raise 'compare partial called through "show"'
  - elsif @showtype == "drift_history"
    = render :partial => "layouts/drift_history"
  - elsif @showtype == "drift"
    = raise 'drift partial called through "show"'
  - elsif @showtype == "item"
    = render :partial => "layouts/item"
  - elsif @showtype == 'main'
    = render :partial => "layouts/textual_groups_generic"