1 <table id="block_list" class="table table-borderless table-striped table-sm">
4 <% if show_user_name %>
5 <th><%= t ".display_name" %></th>
7 <% if show_creator_name %>
8 <th><%= t ".creator_name" %></th>
10 <th><%= t ".reason" %></th>
11 <th><%= t ".status" %></th>
12 <th><%= t ".revoker_name" %></th>
15 <% if show_revoke_link %>
20 <%= 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 %>
23 <ul class='secondary-actions'>
24 <% if @user_blocks_pages.current_page.number > 1 -%>
25 <li><%= link_to t(".previous"), @params.merge(:page => @user_blocks_pages.current_page.number - 1) %></li>
27 <li><%= t(".previous") %></li>
30 <li><%= t(".showing_page", :page => @user_blocks_pages.current_page.number) %></li>
32 <% if @user_blocks_pages.current_page.number < @user_blocks_pages.page_count -%>
33 <li><%= link_to t(".next"), @params.merge(:page => @user_blocks_pages.current_page.number + 1) %></li>
35 <li><%= t(".next") %></li>