<%= link_to_container(container, resource) %> |
><%= vm_state(container) %> |
<%= trunc_with_tooltip(container.image_friendly_name) %> |
<%= trunc_with_tooltip(container.command) %> |
<%= container.ready? ? time_ago_in_words(container.started_at) : "N/A" %>
|
<%= link_to resource, compute_resource_path(resource) %> |
<%= managed?(container, resource) ? _('Yes') : _('No') %> |
<% @compute_resource = resource %>
<%= action_buttons(container_power_action(container),
display_delete_if_authorized(hash_for_container_path(
:compute_resource_id => resource,
:id => container.id).
merge(:auth_object => resource, :auth_action => 'destroy',
:authorizer => authorizer),
:confirm => _("Delete %s?") % container.name)) %>
|
<% end %>