Sha256: 2e8521ed27a62a83e62a253fefe6b23c62b053063f53872efa80e6f8fb9614d8

Contents?: true

Size: 1.38 KB

Versions: 16

Compression:

Stored size: 1.38 KB

Contents

<tr class="<%= cycle('even', 'odd') %>">
  <td class="icon"><%= content_tag 'span', '', :class => "icon user#{user.gender == 'female' ? ' female' : ' male'}" %></td>
  <td>
    <%= render_icon(user.logged_in? ? 'online' : 'offline') %>
  </td>
  <td class="login"><%= user.login %></td>
  <td class="name"><%= user.firstname %></td>
  <td><%= user.lastname %></td>
  <td class="email"><%= user.email %></td>
  <td><%= _t(user.language, scope: 'translations', default: _t(:unknown)) %></td>
  <td><%= user.last_sign_in_at.present? ? l(user.last_sign_in_at, :format => :default) : _t(:unknown) %></td>
  <td class="role"><%= user.human_roles_string %></td>
  <td class="tools">
    <% permitted_to?(:destroy, :alchemy_admin_users) do %>
    <%= link_to_confirmation_window(
      '',
      _t(:confirm_to_delete_user),
      alchemy.admin_user_path(user),
      :title => _t(:delete_user),
      :class => "icon user_delete#{user.gender == 'female' ? ' female' : ' male'}"
    ) %>
    <% end %>
    <% permitted_to?(:edit, :alchemy_admin_users) do %>
    <%= link_to_overlay_window(
      '',
      alchemy.edit_admin_user_path(user),
      {
        :title => _t(:edit_user),
        :overflow => true,
        :size => '420x580'
      },
      {
        :class => "icon user_edit#{user.gender == 'female' ? ' female' : ' male'}",
        :title => _t(:edit_user)
      }
    ) %>
    <% end %>
  </td>
</tr>

Version data entries

16 entries across 16 versions & 2 rubygems

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