Sha256: 2b0029683963ea7824e7c0df2fe122be9d233fb1d1293ec5af6d198f236ddebc

Contents?: true

Size: 1.46 KB

Versions: 14

Compression:

Stored size: 1.46 KB

Contents

<div id='actions'>
  <ul>
    <li>
      <%= link_to "Create New User", new_admin_user_url, :class => "add_icon" %>
    </li>
  </ul>
</div>
<div id='records'>
  <% if @users.any? %>
    <%= will_paginate @users, :previous_label => '&laquo;', :next_label => '&raquo;' %>
    <ul>
      <% @users.each do |user| -%>
        <li id="sortable_<%= user.id %>" class='clearfix record <%= cycle("on", "on-hover") %>'>
          <span class='title'>
            <span class='actions'>
              <%= link_to refinery_icon_tag('delete.png'), admin_user_path(user),
                                :class => "cancel confirm-delete",
                :title => "Remove this user forever" if user.ui_deletable?(current_user) %>
              <%= link_to refinery_icon_tag('application_edit.png'), edit_admin_user_path(user),
                :title => 'Edit this user' %>
              <%= mail_to user.email, refinery_icon_tag('email_go.png'), :title => 'Email this user' %>
            </span>
            <strong><%= user.login %></strong>
            <span class="preview">
              (<%= user.email %>) created <%= user.created_at.strftime("%b %d, %Y") %>
            </span>
          </span>
        </li>
      <% end -%>
    </ul>
    <%= will_paginate @users, :previous_label => '&laquo;', :next_label => '&raquo;' %>
  <% else %>
    <p>
      <strong>
        There are no users yet.
        Click "Create New User" to add your first user.
      </strong>
    </p>
  <% end %>
</div>

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
jacobat-refinerycms-0.9.6.14 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.6.19 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.6.18 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.6.17 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.6.16 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.6.15 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.6.14 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.6.13 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.6.12 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.6.11 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.6.10 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.6.9 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.6.8 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.6.7 vendor/plugins/authentication/app/views/admin/users/index.html.erb