Sha256: 58d3b32eef1c520f93eaaf296a7f35422fd9919eb78e0bf53e62503c317d544f

Contents?: true

Size: 868 Bytes

Versions: 5

Compression:

Stored size: 868 Bytes

Contents

<% title _("User Groups") %>

<% title_actions display_link_if_authorized(_("New User group"), hash_for_new_usergroup_path) %>

<table class="table table-bordered table-striped">
  <tr>
    <th><%= s_("Usergroup|Name") %></th>
    <th><%= _("Users") %></th>
    <th><%= _("User Groups") %></th>
    <th></th>
  </tr>
  <% for usergroup in @usergroups %>
    <tr>
      <td><%= link_to_if_authorized h(usergroup.name), hash_for_edit_usergroup_path(:id => usergroup.id) %></td>
      <td><%= h usergroup.users.map(&:login).to_sentence %></td>
      <td><%= h usergroup.usergroups.map(&:name).to_sentence %></td>
      <td>
        <%= display_delete_if_authorized hash_for_usergroup_path(:id => usergroup), :confirm => (_("Delete %s?") % usergroup.name) %>
      </td>
    </tr>
  <% end %>
</table>
<%= page_entries_info @usergroups %>
<%= will_paginate @usergroups %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/usergroups/index.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/usergroups/index.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/usergroups/index.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/usergroups/index.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/usergroups/index.html.erb