Sha256: e5a99e8c01263b2a2a655236223b00b1e843450a5ea571e198c39472c08f6d14

Contents?: true

Size: 886 Bytes

Versions: 4

Compression:

Stored size: 886 Bytes

Contents

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

<% title_actions button_group(display_link_if_authorized(_('New Salt State'), hash_for_new_salt_module_path)) %>

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

<%= page_entries_info @salt_modules %>
<%= will_paginate @salt_modules %>

Version data entries

4 entries across 4 versions & 1 rubygems

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