Sha256: 0b9b8e84d37b49f94beb390d9f8536e62b22c693b9e84f3693c495f57ee41e25

Contents?: true

Size: 1.3 KB

Versions: 7

Compression:

Stored size: 1.3 KB

Contents

<%= toolbar(
  :buttons => [
    {
      :icon => 'user_add',
      :label => t('create_user'),
      :url => alchemy.new_admin_user_path,
      :title => t('create_user'),
      :overlay_options => {
        :title => t('create_user'),
        :size => "420x560"
      },
      :if_permitted_to => [:new, :alchemy_admin_users]
    }
  ]
) %>

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

  <table class="list" id="user_list">
    <tr>
      <th class="icon"></th>
      <th class="login_status"></th>
      <th class="login"><%= Alchemy::User.human_attribute_name('login') %></th>
      <th class="name"><%= Alchemy::User.human_attribute_name('firstname') %></th>
      <th><%= Alchemy::User.human_attribute_name('lastname') %></th>
      <th class="email"><%= Alchemy::User.human_attribute_name('email') %></th>
      <th><%= Alchemy::User.human_attribute_name('language') %></th>
      <th><%= Alchemy::User.human_attribute_name('last_login_at') %></th>
      <th class="role"><%= Alchemy::User.human_attribute_name('role') %></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

7 entries across 7 versions & 1 rubygems

Version Path
alchemy_cms-2.4.1 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.5.0.b5 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.5.0.b2 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.4.0 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.4.rc4 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.4.rc2 app/views/alchemy/admin/users/index.html.erb
alchemy_cms-2.4.rc1 app/views/alchemy/admin/users/index.html.erb