Project

General

Profile

« Previous | Next » 

Revision 88ed4900

Added by Amos Benari about 10 years ago

fixes #3592 lazy load vm with ajax in host show page.

View differences:

app/views/compute_resources_vms/show/_libvirt.html.erb
<% @vm.volumes.each do |vol| %>
<tr>
<td><%= _('Disk') %></td>
<td><%= _("using %{allocation} GB out of %{capacity} GB (%{pool_name} storage pool - %{path})") % { :allocation => vol.allocation, :capacity => vol.capacity, :pool_name => vol.pool_name, :path => vol.path } %></td>
<td><%= _("using %{allocation} GB out of %{capacity} GB, %{pool_name} storage pool") % { :allocation => vol.allocation, :capacity => vol.capacity, :pool_name => vol.pool_name } %></td>
</tr>
<tr>
<td><%= _('Path') %></td>
<td><%= trunc(vol.path, 32) %></td>
</tr>
<% end %>

Also available in: Unified diff