Sha256: 368e490133b05fb90912cb8c3dd64e9812c111b20fe9c7e2ac1a581be76205d4

Contents?: true

Size: 1.48 KB

Versions: 12

Compression:

Stored size: 1.48 KB

Contents

<% set_title_and_breadcrumb t('etabliocms_core_user.users') %>

<h1><%= t('etabliocms_core_user.users') %></h1>

<div class="strap">
  <%= link_to "#{t('etabliocms_core_user.add')} &raquo;".html_safe, new_admin_user_path, :class => 'text-icon icon-add' %>
  <%= link_to "#{t('admin.refresh')} &raquo;".html_safe, admin_users_path, :class => 'text-icon icon-refresh' %>
  <%= link_to "#{t('admin.back_to_admin')} &raquo;".html_safe, admin_path, :class => 'text-icon icon-backward' %>
</div>

<table class="admin-table">
  <thead>
  <tr>
    <th><%= t('activerecord.attributes.etabliocms_core_user.email') %></th>
    <th><%= t('activerecord.attributes.etabliocms_core_user.last_sign_in_at') %></th>
    <th><%= t('admin.actions') %></th>
  </tr>
  </thead>
  <tbody>

  <% for item in @users %>
      <tr class="<%= cycle("odd-row", "even-row") -%>">
        <td><%= link_to item.email, edit_admin_user_url(item.id) %></td>
        <td><%= l(item.last_sign_in_at, :format => :short) if item.last_sign_in_at.is_a?(DateTime) %></td>
        <td>
          <%= link_to t('admin.edit'), edit_admin_user_url(item.id), :class => 'icon icon-edit', :title => t('admin.edit') %>
          <%= link_to t('admin.destroy'), admin_user_url(item.id),
                      :method => :delete,
                      :confirm => t('etabliocms_core_user.destroy_confirmation'),
                      :class => 'icon icon-destroy',
                      :title => t('admin.destroy') %>
        </td>
  <% end %>
  </tbody>
</table>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
etabliocms_core-0.0.12 app/views/etabliocms_core/admin/users/index.html.erb
etabliocms_core-0.0.11 app/views/etabliocms_core/admin/users/index.html.erb
etabliocms_core-0.0.10 app/views/etabliocms_core/admin/users/index.html.erb
etabliocms_core-0.0.9 app/views/etabliocms_core/admin/users/index.html.erb
etabliocms_core-0.0.8 app/views/etabliocms_core/admin/users/index.html.erb
etabliocms_core-0.0.7 app/views/etabliocms_core/admin/users/index.html.erb
etabliocms_core-0.0.6 app/views/etabliocms_core/admin/users/index.html.erb
etabliocms_core-0.0.5 app/views/etabliocms_core/admin/users/index.html.erb
etabliocms_core-0.0.4 app/views/etabliocms_core/admin/users/index.html.erb
etabliocms_core-0.0.3 app/views/etabliocms_core/admin/users/index.html.erb
etabliocms_core-0.0.2 app/views/etabliocms_core/admin/users/index.html.erb
etabliocms_core-0.0.1 app/views/etabliocms_core/admin/users/index.html.erb