<commit_before>:ruby
  table_dom_id = SecureRandom.hex
  show_actions ||= 0

- if show_actions == 1
  #table_actions.btn-group
    = render :partial => "users/index_actions"

%table.table.table-hover{:id => table_dom_id, :data => {:toggle => 'table',
  :pagination => 'true',
  :show_pagination_switch => 'true',
  :page_list => "[5, 10, 20, 50, 100, 200]",
  :page_size => current_user.num_table_rows,
  :search => 'false',
  :toolbar => "#table_actions",
  :export_types => "['csv', 'txt', 'excel']",
  :show_export => 'true',
  :show_columns => 'true',
  :show_toggle => 'true'}}
  %thead
    %tr
      %th.left{:data => {:visible => 'false'}} Object Key
      %th.left{:data => {:visible => 'false'}} External Id
      %th.left{:data => {:sortable => 'true'}} Organization
      %th.left.nowrap{:data => {:sortable => 'true'}} Title
      %th.left.nowrap{:data => {:sortable => 'true'}} First
      %th.left.nowrap{:data => {:sortable => 'true'}} Last
      %th.left.nowrap{:data => {:sortable => 'true'}} Email
      %th.left.nowrap{:data => {:sortable => 'true'}} Phone
      %th.left{:data => {:visible => 'false', :sortable => 'true'}} Timezone
      %th.center{:data => {:visible => 'false', :sortable => 'true'}} Send Emails
      %th.right{:data => {:visible => 'false', :sortable => 'true'}} Table Rows
      - if current_user.has_role? :admin
        %th.left{:data => {:sortable => 'true'}} Roles
        %th.right{:data => {:sortable => 'true'}} Num Logins
        %th.right{:data => {:sortable => 'true'}} Last Login
        %th.left.nowrap{:data => {:visible => 'false', :sortable => 'true'}} Last Login IP
        %th.right{:data => {:visible => 'false', :sortable => 'true'}} Num Failed
        %th.center{:data => {:sortable => 'true'}} Locked
        %th.center{:data => {:sortable => 'true'}} Active
        %th.right{:data => {:sortable => 'true'}} Created At
        %th.right{:data => {:visible => 'false', :sortable => 'true'}} Updated At

  %tbody
    - @users.each do |u|
      %tr{:id => u.object_key, :class => 'action-path'}
        %td= u.object_key
        %td= u.external_id
        %td= u.organization.short_name
        %td= u.title
        %td= u.first_name
        %td= u.last_name
        %td= u.email<commit_msg>Altered user table so that clicking on a row no longer redirects to the individual's user detail page.  Also, changed the organization column and the name columns to be links to the detail pages. [#98229022]<commit_after>:ruby
  table_dom_id = SecureRandom.hex
  show_actions ||= 0

- if show_actions == 1
  #table_actions.btn-group
    = render :partial => "users/index_actions"

%table.table.table-hover{:id => table_dom_id, :data => {:toggle => 'table',
  :pagination => 'true',
  :show_pagination_switch => 'true',
  :page_list => "[5, 10, 20, 50, 100, 200]",
  :page_size => current_user.num_table_rows,
  :search => 'false',
  :toolbar => "#table_actions",
  :export_types => "['csv', 'txt', 'excel']",
  :show_export => 'true',
  :show_columns => 'true',
  :show_toggle => 'true'}}
  %thead
    %tr
      %th.left{:data => {:visible => 'false'}} Object Key
      %th.left{:data => {:visible => 'false'}} External Id
      %th.left{:data => {:sortable => 'true'}} Organization
      %th.left.nowrap{:data => {:sortable => 'true'}} Title
      %th.left.nowrap{:data => {:sortable => 'true'}} First
      %th.left.nowrap{:data => {:sortable => 'true'}} Last
      %th.left.nowrap{:data => {:sortable => 'true'}} Email
      %th.left.nowrap{:data => {:sortable => 'true'}} Phone
      %th.left{:data => {:visible => 'false', :sortable => 'true'}} Timezone
      %th.center{:data => {:visible => 'false', :sortable => 'true'}} Send Emails
      %th.right{:data => {:visible => 'false', :sortable => 'true'}} Table Rows
      - if current_user.has_role? :admin
        %th.left{:data => {:sortable => 'true'}} Roles
        %th.right{:data => {:sortable => 'true'}} Num Logins
        %th.right{:data => {:sortable => 'true'}} Last Login
        %th.left.nowrap{:data => {:visible => 'false', :sortable => 'true'}} Last Login IP
        %th.right{:data => {:visible => 'false', :sortable => 'true'}} Num Failed
        %th.center{:data => {:sortable => 'true'}} Locked
        %th.center{:data => {:sortable => 'true'}} Active
        %th.right{:data => {:sortable => 'true'}} Created At
        %th.right{:data => {:visible => 'false', :sortable => 'true'}} Updated At

  %tbody
    - @users.each do |u|
      %tr{ :class => 'action-path' }
        %td= u.object_key
        %td= u.external_id
        %td= link_to( u.organization.short_name, organization_path(u.organization.short_name))
        %td= u.title
        %td= link_to( u.first_name, user_path(u.object_key))
        %td= link_to( u.last_name, user_path(u.object_key))
        %td= u.email
{'fraction_non_alphanumeric': 0.20790842872008325, 'fraction_numerical': 0.007908428720083247, 'mean_word_length': 3.253097345132743, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 126, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1067094', 'n_tokens_mistral': 1764, 'n_tokens_neox': 1672, 'n_words': 386}