Sha256: 97a5c947d1eefae399fa288e856e70c24085c6acfe59145c3319760ada50c8db

Contents?: true

Size: 839 Bytes

Versions: 5

Compression:

Stored size: 839 Bytes

Contents

<table class="table table-bordered">
  <thead>
    <tr>
      <th><%= _('Name') -%></th>
      <th><%= _('Type') -%></th>
      <th><%= _('Tenant') -%></th>
      <th><%= _('State') -%></th>
      <th></th>
    </tr>
  </thead>
  <% @compute_resource.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><%= vm.flavor_with_object %></td>
      <td><%= vm.tenant %></td>
      <td> <span <%= vm_power_class(vm.ready?) %>> <%= vm_state(!vm.ready?) %></span> </td>
      <td>
        <%= action_buttons(vm_power_action(vm),
            display_delete_if_authorized(hash_for_compute_resource_vm_path(:compute_resource_id => @compute_resource, :id => vm.id))) %>
      </td>
    </tr>
  <% end -%>
</table>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/compute_resources_vms/index/_openstack.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/compute_resources_vms/index/_openstack.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/compute_resources_vms/index/_openstack.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/compute_resources_vms/index/_openstack.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/compute_resources_vms/index/_openstack.html.erb