Sha256: 544ac78acce12d476f3455a21d6c9edeb9a6b34be76279827d98ac8b774c0e66

Contents?: true

Size: 968 Bytes

Versions: 4

Compression:

Stored size: 968 Bytes

Contents

<% title _('Salt Environments') %>

<% title_actions button_group(display_link_if_authorized(_('New Salt Environment'), hash_for_new_salt_environment_path)) %>

<table class="table table-bordered table-striped">
  <tr>
    <th><%= sort :name, :as => s_('SaltEnvironment|Name') %></th>
    <th></th>
  </tr>
  <% for salt_environment in @salt_environments %>
    <tr>
      <td><%=link_to_if_authorized h(salt_environment.name), hash_for_edit_salt_environment_path(:id => salt_environment).merge(:auth_object => salt_environment, :authorizer => authorizer) %></td>
      <td>
        <%= action_buttons(display_delete_if_authorized hash_for_salt_environment_path(:id => salt_environment).merge(:auth_object => salt_environment, :authorizer => authorizer),
                            :confirm => _('Delete %s?') % salt_environment.name) %>
      </td>
    </tr>
  <% end %>
</table>

<%= page_entries_info @salt_environments %>
<%= will_paginate @salt_environments %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_salt-2.0.2 app/views/foreman_salt/salt_environments/index.html.erb
foreman_salt-2.0.1 app/views/foreman_salt/salt_environments/index.html.erb
foreman_salt-2.0.0 app/views/foreman_salt/salt_environments/index.html.erb
foreman_salt-1.1.1 app/views/foreman_salt/salt_environments/index.html.erb