Sha256: 13792ded7b576417cc0e33ad452e73670cc876b2abc2067c2c795413bcfcab8f

Contents?: true

Size: 1.54 KB

Versions: 8

Compression:

Stored size: 1.54 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.size > 0 %>
    <%= 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),
                :confirm => "Are you sure you want to delete '#{user.login}'?",
                :class => "cancel", :method => :delete,
                :title => "Remove this user forever" if @users.size > 1 and user.id != current_user.id %>
              <%= 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

8 entries across 8 versions & 1 rubygems

Version Path
refinerycms-0.9.5.21 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.5.20 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.5.19 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.5.18 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.5.17 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.5.16 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.5.15 vendor/plugins/authentication/app/views/admin/users/index.html.erb
refinerycms-0.9.5.14 vendor/plugins/authentication/app/views/admin/users/index.html.erb