Sha256: 6e64041e1a5725498e852f55e984bea2900c7799a8af185ebc26504f5478985b

Contents?: true

Size: 1.58 KB

Versions: 15

Compression:

Stored size: 1.58 KB

Contents

<%= toolbar(
  buttons: [
    {
      icon: 'user_add',
      label: _t(:create_user),
      url: alchemy.new_admin_user_path,
      title: _t(:create_user),
      hotkey: 'alt-n',
      overlay_options: {
        title: _t(:create_user),
        size: "420x580"
      },
      if_permitted_to: [:new, :alchemy_admin_users]
    }
  ]
) %>

<div id="archive_all">
  <%= resources_header %>
<% if @users.any? %>

  <table class="list" id="user_list">
    <tr>
      <th class="icon"></th>
      <th class="login_status"></th>
      <th class="login">
        <%= sortable_column(Alchemy::User.human_attribute_name('login'), column: :login) %>
      </th>
      <th class="name">
        <%= sortable_column(Alchemy::User.human_attribute_name('firstname'), column: :firstname) %>
      </th>
      <th>
        <%= sortable_column(Alchemy::User.human_attribute_name('lastname'), column: :lastname) %>
      </th>
      <th class="email">
        <%= sortable_column(Alchemy::User.human_attribute_name('email'), column: :email) %>
      </th>
      <th><%= Alchemy::User.human_attribute_name('language') %></th>
      <th>
        <%= sortable_column(Alchemy::User.human_attribute_name('last_sign_in_at'), column: :last_sign_in_at) %>
      </th>
      <th class="role"><%= Alchemy::User.human_attribute_name('roles') %></th>
      <th class="tools"></th>
    </tr>
    <%= render partial: 'alchemy/admin/users/user', collection: @users %>
  </table>

  <%= paginate @users %>

<% elsif params[:query] %>

  <div class="info">
    <%= render_icon('info') %>
    <%= _t('No users found') %>
  </div>

<% end %>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
alchemy_cms-2.8.3 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.7.5 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.6.3 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.7.4 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.8.2 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.8.1 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.7.3 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.7.2 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.7.1 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.7.0 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.6.2.1 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.6.2 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.6.1 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.6.0 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.6.0.rc5 app/views/alchemy/admin/users/index.html.erb