Project

General

Profile

« Previous | Next » 

Revision a94e376d

Added by Niels Baumgartner almost 5 years ago

fix errors introduced by linting; fix vm import

View differences:

app/views/compute_resources_vms/index/_xenserver.html.erb
<tbody>
<% @vms.each do |vm| -%>
<tr>
<td><%= link_to_if_authorized vm.name, hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.identity) %></td>
<td><%= link_to_if_authorized vm.name, hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.uuid) %></td>
<td><%= vm.vcpus_max %></td>
<td><%= (vm.memory_static_max.to_i / 1073741824).to_s %> GB</td>
<td><%= vm.power_state %> </td>

Also available in: Unified diff