Project

General

Profile

Download (1 KB) Statistics
| Branch: | Tag: | Revision:
<% title _("Images") %>

<% title_actions display_link_if_authorized(_("New Image"), hash_for_new_compute_resource_image_path) %>

<table class="table table-bordered table-striped" data-table='inline'>
<thead>
<tr>
<th><%= s_("Image|Name") %></th>
<th><%= s_("Operating System") %></th>
<th><%= s_("Image|Username") %></th>
<th><%= s_("Image|Uuid") %></th>
<th><%= s_("Image|User data") %></th>
<th></th>
</tr>
</thead>
<% @images.each do |image| %>
<tr>
<td><%= image.name %></td>
<td><%= image.operatingsystem.to_label %></td>
<td><%= image.username %></td>
<td><%= image.uuid %></td>
<td><%= image.user_data? ? _("Enabled") : _("Disabled") %></td>
<td><%= action_buttons(link_to(_('Edit'), edit_compute_resource_image_path(@compute_resource, image)),
link_to(_('Destroy'), [@compute_resource, image], :confirm => _('Are you sure?'), :method => :delete)) %></td>
</tr>
<% end %>
</table>

<%= page_entries_info @images %>
<%= will_paginate @images %>
(3-3/4)