1 <% @title = t('user.list.title') %>
3 <h1><%= t('user.list.heading') %></h1>
5 <% unless @users.empty? %>
6 <% form_tag :status => params[:status], :ip => params[:ip] do %>
10 <%= t 'user.list.showing',
11 :page => @user_pages.current_page.number,
12 :first_item => @user_pages.current_page.first_item,
13 :last_item => @user_pages.current_page.last_item,
14 :items => @user_pages.item_count,
15 :count => @user_pages.current_page.last_item - @user_pages.current_page.first_item + 1
17 <% if @user_pages.page_count > 1 %>
18 | <%= pagination_links_each(@user_pages, {}) { |n| link_to n, :page => n } %>
23 check_box_tag("user_all", "1", false, :onchange => update_page do |page|
25 page << "$('user_#{user.id}').checked = $('user_all').checked;"
31 <%= render :partial => 'user', :collection => @users %>
34 <div id="user_list_actions">
35 <%= submit_tag t('user.list.confirm'), :name => "confirm" %>
36 <%= submit_tag t('user.list.hide'), :name => "hide" %>
40 <p><%= t "user.list.empty" %></p>