Sha256: 4d25ad30d2d7a061f85eb4ecc70ee7cbe2780696119a8a1e3822b0d3dc611503
Contents?: true
Size: 988 Bytes
Versions: 11
Compression:
Stored size: 988 Bytes
Contents
<thead> <tr> <th><%= _('Name') %></th> <th><%= _('Type') %></th> <th><%= _('State') %></th> <th><%= _('Actions') %></th> </tr> </thead> <tbody> <% @vms.each do |vm| %> <% view_path = hash_for_compute_resource_vm_path(compute_resource_id: @compute_resource, id: vm.identity).merge(auth_object: @compute_resource.id, auth_action: 'view', authorizer: authorizer) delete_link = display_delete_if_authorized(hash_for_compute_resource_vm_path(compute_resource_id: @compute_resource, id: vm.identity).merge(auth_object: @compute_resource, authorizer: authorizer)) %> <tr> <td><%= link_to_if_authorized vm.name, view_path %></td> <td><%= vm.pretty_machine_type %></td> <td><%= vm.status.downcase %></td> <td> <%= action_buttons(vm_power_action(vm, authorizer), vm_import_action(vm),vm_associate_link(vm), delete_link) %> </td> </tr> <% end %> </tbody>
Version data entries
11 entries across 11 versions & 1 rubygems