app/helpers/admin/users_helper.rb
def user_summary_status(user)
    if user.awaits_approval?
      t(:user_signed_up)
    elsif user.suspended?
      t(:user_suspended)
    elsif user.admin?
      t(:user_admin)
    else
      t(:user_active)
    end
  end
# Formatted user status for user summary
Formatted user status for user summary
Formatted user status for user summary
def user_summary_status(user)
    if user.awaits_approval?
      t(:user_signed_up)
    elsif user.suspended?
      t(:user_suspended)
    elsif user.admin?
      t(:user_admin)
    else
      t(:user_active)
    end
  end
def user_summary_status ( user ) if user . awaits_approval? t ( :user_signed_up ) elsif user . suspended? t ( :user_suspended ) elsif user . admin? t ( :user_admin ) else t ( :user_active ) end end
Formatted user status for user summary
Formatted user status for user summary
user