Project

General

Profile

« Previous | Next » 

Revision b43fa642

Added by Ohad Levy about 12 years ago

  • ID b43fa642613aaedb59e5b76e3d3ed4a26d53c679

added basic ovirt vm show page, minor fixes in compute resource level

View differences:

app/views/compute_resources/vms/index/_ovirt.html.erb
</tr>
<% @compute_resource.vms.each do |vm| -%>
<tr>
<td><%= vm.name %></td>
<td><%= link_to vm.name, hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.identity) %></td>
<td><%= vm.cores %></td>
<td> <%= number_to_human_size vm.memory %> </td>
<td <%= vm_power_class(vm.ready?) %>> <%= vm_state(!vm.ready?) %> </td>

Also available in: Unified diff