1 <table id="block_list" cellpadding="3">
3 <% if show_user_name %>
4 <th><%= t'user_block.partial.display_name' %></th>
6 <% if show_creator_name %>
7 <th><%= t'user_block.partial.creator_name' %></th>
9 <th><%= t'user_block.partial.reason' %></th>
10 <th><%= t'user_block.partial.status' %></th>
11 <th><%= t'user_block.partial.revoker_name' %></th>
14 <% if show_revoke_link %>
18 <%= render :partial => 'block', :locals => {:show_revoke_link => show_revoke_link, :show_user_name => show_user_name, :show_creator_name => show_creator_name }, :collection => @user_blocks %>
22 <% if @user_blocks_pages.current_page.number > 1 -%>
23 <%= link_to t('user_block.partial.previous'), params.merge({ :page => @user_blocks_pages.current_page.number - 1 }) %>
25 <%= t('user_block.partial.previous') %>
28 | <%= t('user_block.partial.showing_page', :page => @user_blocks_pages.current_page.number) %> |
30 <% if @user_blocks_pages.current_page.number < @user_blocks_pages.page_count -%>
31 <%= link_to t('user_block.partial.next'), params.merge({ :page => @user_blocks_pages.current_page.number + 1 }) %>
33 <%= t('user_block.partial.next') %>