X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8d6d7b51e899aca44b487baa6968c0dcbf65d10f..52a8e2a0d91355ba152443a63cc8c9744240a907:/app/views/user_blocks/_blocks.html.erb diff --git a/app/views/user_blocks/_blocks.html.erb b/app/views/user_blocks/_blocks.html.erb index cdb224c2e..c508dcd47 100644 --- a/app/views/user_blocks/_blocks.html.erb +++ b/app/views/user_blocks/_blocks.html.erb @@ -1,23 +1,27 @@ -<% unless @user_blocks.empty? %> -
<%= t'user_block.partial.display_name' %> | - <% end %> - <% if show_creator_name %> -<%= t'user_block.partial.creator_name' %> | - <% end %> -<%= t'user_block.partial.reason' %> | -<%= t'user_block.partial.status' %> | -<%= t'user_block.partial.revoker_name' %> | -- | - <% if show_revoke_link %> - | - <% end %> - |
---|
<%= t ".display_name" %> | + <% end %> + <% if show_creator_name %> +<%= t ".creator_name" %> | + <% end %> +<%= t ".reason" %> | +<%= t ".status" %> | +<%= t ".revoker_name" %> | ++ | + <% if show_revoke_link %> + | + <% end %> + |
---|
<%= t "user_block.#{blocks_by_on}.empty", :name => h(@this_user.display_name) %>
-<% end %> + +<%= 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 %>