<commit_before>nav
  .sidebar-section
    = sidebar_link(t('.my-tasks'), my_circle_tasks_path(current_circle), badge_text: my_tasks_count)
    = sidebar_link(t('.all-open-tasks'), open_circle_tasks_path(current_circle), badge_text: open_tasks_count)
    = sidebar_link(t('.completed-tasks'), completed_circle_tasks_path(current_circle))

  - if visible_projects?
    .sidebar-section
      = sidebar_link(t('.projects'), circle_projects_path(current_circle))

  .sidebar-section
    = sidebar_link(t('.supplies'), circle_supplies_path(current_circle), badge_text: all_supplies_count)

  .sidebar-section
    - unless can? :manage, current_circle
      = sidebar_link(t('.public_members'), public_circle_members_path(current_circle))
    - if can? :manage, current_circle
      = sidebar_link(t('.directory'), circle_members_path(current_circle))
    = sidebar_link(t('.organizers'), circle_organizers_path(current_circle))
    - if can? :manage, current_circle
      = sidebar_link(t('.admin'), circle_admin_path(current_circle), badge_text: admin_actions_counter, id: 'admin_link')

  - all_working_groups = current_circle.working_groups.asc_order
  - if all_working_groups.present?
    .sidebar-section
      h4= t('.working_groups')
      - current_users_working_groups.each do |wg|
        - if wg.persisted? && can?(:read, wg)
          - after_icon = 'fa fa-lock' if wg.is_private?
          = sidebar_link(wg.name, circle_working_group_path(current_circle, wg), badge_text: working_group_counter(wg), after_icon: after_icon)
      hr
      - other_users_working_groups.each do |wg|
        - if wg.is_private?
          = sidebar_link(wg.name, 'javascript:void(0);', after_icon: 'fa fa-lock', link_class: 'disabled')
        - elsif wg.persisted? && can?(:read, wg)
          = sidebar_link(wg.name, circle_working_group_path(current_circle, wg), badge_text: working_group_counter(wg))

  .bottom
    = content_for :sidebar_bottom
    .powered-by
      = t('supported-by')
      .logo
      = t('lale')
<commit_msg>Move projects link down in sidebar (it's a group, not individual entity)<commit_after>nav
  .sidebar-section
    = sidebar_link(t('.my-tasks'), my_circle_tasks_path(current_circle), badge_text: my_tasks_count)
    = sidebar_link(t('.all-open-tasks'), open_circle_tasks_path(current_circle), badge_text: open_tasks_count)
    = sidebar_link(t('.completed-tasks'), completed_circle_tasks_path(current_circle))

  .sidebar-section
    = sidebar_link(t('.supplies'), circle_supplies_path(current_circle), badge_text: all_supplies_count)

  - if visible_projects?
    .sidebar-section
      = sidebar_link(t('.projects'), circle_projects_path(current_circle))

  .sidebar-section
    - unless can? :manage, current_circle
      = sidebar_link(t('.public_members'), public_circle_members_path(current_circle))
    - if can? :manage, current_circle
      = sidebar_link(t('.directory'), circle_members_path(current_circle))
    = sidebar_link(t('.organizers'), circle_organizers_path(current_circle))
    - if can? :manage, current_circle
      = sidebar_link(t('.admin'), circle_admin_path(current_circle), badge_text: admin_actions_counter, id: 'admin_link')

  - all_working_groups = current_circle.working_groups.asc_order
  - if all_working_groups.present?
    .sidebar-section
      h4= t('.working_groups')
      - current_users_working_groups.each do |wg|
        - if wg.persisted? && can?(:read, wg)
          - after_icon = 'fa fa-lock' if wg.is_private?
          = sidebar_link(wg.name, circle_working_group_path(current_circle, wg), badge_text: working_group_counter(wg), after_icon: after_icon)
      hr
      - other_users_working_groups.each do |wg|
        - if wg.is_private?
          = sidebar_link(wg.name, 'javascript:void(0);', after_icon: 'fa fa-lock', link_class: 'disabled')
        - elsif wg.persisted? && can?(:read, wg)
          = sidebar_link(wg.name, circle_working_group_path(current_circle, wg), badge_text: working_group_counter(wg))

  .bottom
    = content_for :sidebar_bottom
    .powered-by
      = t('supported-by')
      .logo
      = t('lale')

{'fraction_non_alphanumeric': 0.125761637825981, 'fraction_numerical': 0.0009748964172556666, 'mean_word_length': 4.248081841432225, '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': '5550467', 'n_tokens_mistral': 1392, 'n_tokens_neox': 1322, 'n_words': 215}