You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: users_helper.rb
    path of file: ./repos/gitlabhq/app/helpers
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module UsersHelper
  def admin_users_data_attributes(users)
    
  def user_display_name(user)
    return s_('UserProfile|Blocked user') if user.blocked?

    can_read_profile = can?(current_user, :read_user_profile, user)
    return s_('UserProfile|Unconfirmed user') unless user.confirmed? || can_read_profile

    user.name
  end