<commit_before>- content_for :heading
  = t('.heading')

= render partial: 'layouts/header'

.grid-row
  .column-full.table-container.container
    table.users.table-font-xsmall
      colgroup
        col
        col
      thead
        th scope='col'
          = t('.full_name')
        th scope='col'
          = t('.email')
        th scope='col'
          = t('.teams')
        th scope='col'
          = t('.cases')
      tbody
        - @users.each do |user|
          tr.user_row
            td aria-label="#{t('.full_name')}"
              = user.full_name
            td aria-label="#{t('.email')}"
              = user.email
            td aria-label="#{t('.teams')}"
              ul
                - user.teams.each do |team|
                  li
                    = link_to team.name, team_path(team.id)
            td aria-label="#{t('.cases')}"
                ul
                  - user.cases.each do |kase|
                    li
                      = link_to kase.number, case_path(kase.id)

= paginate @users
<commit_msg>Limit users list of cases to opened on admin page<commit_after>- content_for :heading
  = t('.heading')

= render partial: 'layouts/header'

.grid-row
  .column-full.table-container.container
    table.users.table-font-xsmall
      colgroup
        col
        col
      thead
        th scope='col'
          = t('.full_name')
        th scope='col'
          = t('.email')
        th scope='col'
          = t('.teams')
        th scope='col'
          = t('.cases')
      tbody
        - @users.each do |user|
          tr.user_row
            td aria-label="#{t('.full_name')}"
              = user.full_name
            td aria-label="#{t('.email')}"
              = user.email
            td aria-label="#{t('.teams')}"
              ul
                - user.teams.each do |team|
                  li
                    = link_to team.name, team_path(team.id)
            td aria-label="#{t('.cases')}"
                ul
                  - user.cases.opened.each do |kase|
                    li
                      = link_to kase.number, case_path(kase.id)

= paginate @users

{'fraction_non_alphanumeric': 0.13629976580796252, 'fraction_numerical': 0.0, 'mean_word_length': 1.2507903055848262, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1993555', 'n_tokens_mistral': 649, 'n_tokens_neox': 635, 'n_words': 127}