|
<%= javascript 'compute_resource' %>
|
|
|
|
<% title _('Compute profiles') %>
|
|
|
|
<% title_actions new_link(_('Create Compute Profile')),
|
|
documentation_button('5.2.2UsingComputeProfiles') %>
|
|
<table class="<%= table_css_classes 'table-two-pane table-fixed' %>">
|
|
<thead>
|
|
<tr>
|
|
<th class="col-md-11"><%= sort :name %></th>
|
|
<th><%= _("Actions") %></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% @compute_profiles.each do |compute_profile| %>
|
|
<tr>
|
|
<td class="ellipsis"><%= link_to_if_authorized compute_profile.name, hash_for_compute_profile_path(compute_profile).merge(:auth_object => compute_profile, :authorizer => authorizer, :auth_action => 'edit') %></td>
|
|
<td><%= action_buttons(
|
|
display_link_if_authorized(_('Rename'), hash_for_edit_compute_profile_path(compute_profile).merge(:auth_object => compute_profile, :authorizer => authorizer)),
|
|
display_delete_if_authorized(hash_for_compute_profile_path(compute_profile).merge(:auth_object => compute_profile, :authorizer => authorizer), :data => { :confirm => _('Delete %s?') % compute_profile.name }))%>
|
|
</td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
|
|
<%= will_paginate_with_info @compute_profiles %>
|