Sha256: a0d75f5f110e89c2f466540f8bec7853103c9d890c9557b90d05aee494db1b14

Contents?: true

Size: 769 Bytes

Versions: 14

Compression:

Stored size: 769 Bytes

Contents

<% content_for :page_title, "Users" %>
<% content_for :page_description, "Viewing active users" %>

<% content_for :sidebar do %>
  <% if policy(User).new? %>
    <h2>Invite</h2>
    <p>
      <%= link_to "Invite someone to Pages", new_admin_invite_path %>
    </p>
  <% end %>
  <h2>Deactivated users</h2>
  <p>
    <% if User.deactivated.count == 0 %>
      There are no deactivated user accounts.</p>
    <% elsif User.deactivated.count == 1 %>
      There is <%= link_to "one deactivated user", deactivated_admin_users_path %>.
    <% else %>
      There are <%= link_to "#{User.deactivated.count} deactivated users", deactivated_admin_users_path %>.
    <% end %>
  </p>
<% end %>


<%= render partial: "list", locals: { users: @users } %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
pages_core-3.15.5 app/views/admin/users/index.html.erb
pages_core-3.15.4 app/views/admin/users/index.html.erb
pages_core-3.15.3 app/views/admin/users/index.html.erb
pages_core-3.15.2 app/views/admin/users/index.html.erb
pages_core-3.15.1 app/views/admin/users/index.html.erb
pages_core-3.14.0 app/views/admin/users/index.html.erb
pages_core-3.13.0 app/views/admin/users/index.html.erb
pages_core-3.12.7 app/views/admin/users/index.html.erb
pages_core-3.12.6 app/views/admin/users/index.html.erb
pages_core-3.12.5 app/views/admin/users/index.html.erb
pages_core-3.12.4 app/views/admin/users/index.html.erb
pages_core-3.12.3 app/views/admin/users/index.html.erb
pages_core-3.12.2 app/views/admin/users/index.html.erb
pages_core-3.12.1 app/views/admin/users/index.html.erb