1 <table id="block_list" cellpadding="3">
3 <% if show_user_name %>
4 <th><%= t '.display_name' %></th>
6 <% if show_creator_name %>
7 <th><%= t '.creator_name' %></th>
9 <th><%= t '.reason' %></th>
10 <th><%= t '.status' %></th>
11 <th><%= t '.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 %>
21 <ul class='secondary-actions'>
22 <% if @user_blocks_pages.current_page.number > 1 -%>
23 <li><%= link_to t('.previous'), @params.merge({ :page => @user_blocks_pages.current_page.number - 1 }) %></li>
25 <li><%= t('.previous') %></li>
28 <li><%= t('.showing_page', :page => @user_blocks_pages.current_page.number) %></li>
30 <% if @user_blocks_pages.current_page.number < @user_blocks_pages.page_count -%>
31 <li><%= link_to t('.next'), @params.merge({ :page => @user_blocks_pages.current_page.number + 1 }) %></li>
33 <li><%= t('.next') %></li>