]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user_blocks/_blocks.html.erb
Removed unused translations in user_role namespace
[rails.git] / app / views / user_blocks / _blocks.html.erb
index 8816acb1565a5dfb1a2c9dddb4abbc7f144715b7..8c8557f606e358b196d170209ecbb5779947ccd1 100644 (file)
@@ -1,4 +1,4 @@
-<turbo-frame id="pagination" target="_top">
+<turbo-frame id="pagination" target="_top" data-turbo="false">
   <table id="block_list" class="table table-borderless table-striped table-sm">
     <thead>
       <tr>
         <th><%= t ".revoker_name" %></th>
         <th></th>
         <th></th>
-        <% if can?(:revoke, UserBlock) %>
-        <th></th>
-        <% end %>
       </tr>
     </thead>
     <%= render :partial => "block", :collection => @user_blocks %>
   </table>
 
   <%= render "shared/pagination",
-             :newer_key => "user_blocks.blocks.newer",
-             :older_key => "user_blocks.blocks.older",
              :newer_id => @newer_user_blocks_id,
              :older_id => @older_user_blocks_id %>
 </turbo-frame>