ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
Test Coverage
#main_div
  - if @ownershipedit
    = render :partial => "shared/views/ownership"
  - elsif @rightsize
    = render :partial => "vm_common/right_size"
  - elsif @reconfigure
    = render :partial => "vm_common/reconfigure"
  - elsif @resize
    = render :partial => "vm_common/resize"
  - elsif @live_migrate
    = render :partial => "vm_common/live_migrate"
  - elsif @evacuate
    = render :partial => "vm_common/evacuate"
  - elsif @associate_floating_ip
    = render :partial => "vm_common/associate_floating_ip"
  - elsif @disassociate_floating_ip
    = render :partial => "vm_common/disassociate_floating_ip"
  - else
    = render :partial => "vm_common/#{@showtype}", :locals => {:controller => "vm"}