<commit_before>%article#content
  %section.top-box.group-top-box
    %h1= @group.name
    %p= @group.description

  %section.group-homepage-tabs
    %ul.tabs.styled-tabs
      %li= link_to t(".our_areas"), "#"
      %li= link_to t(".recent_threads"), "#"
      %li= link_to t(".recent_issues"), "#"
    .panes
      .pane.area-map
        - if (@group.profile.location)
          - m = tiny_display_map(@group.profile, geometry_group_profile_path(@group, :json), "tinymap") do |map, page, dom_id|
            %div{id: dom_id, class: "tinymap"}
          != m.to_html
        - else
          %p= t ".no_location"
      .pane.recent-threads
        - if (@recent_threads.count > 0)
          %ul
            - @recent_threads.each do |thread|
              %li= link_to thread.title, thread_path(thread)
        - else
          %p= t ".no_threads"
      .pane.recent-issues
        .issue-map
          - if (@group.profile.location)
            - m2 = display_bbox_map(@group.profile.location, all_geometries_issues_path(:json)) do |map2, page2|
              %div#map
            != m2.to_html
        .issue-list
          - if (@recent_issues.count > 0)
            %ul
              - @recent_issues.each do |issue|
                %li= link_to issue.title, issue_path(issue)
          - else
            %p= t ".no_issues"

%aside#sidebar
  %section.group-homepage-join
    %h2= t ".join_title"
    %p= t ".join_body", group: @group.name
    - if current_user && !@group.members.include?(current_user)
      = link_to t(".join_this_group"), new_group_membership_request_path(@group), class: "btn-green"
  %section.box
    %h2= t ".group_organisers"
    %ul.following-thread
      - @group.committee_members.each do |member|
        %li= link_to_profile member<commit_msg>Don't show any joining information if the user is already a member.<commit_after>%article#content
  %section.top-box.group-top-box
    %h1= @group.name
    %p= @group.description

  %section.group-homepage-tabs
    %ul.tabs.styled-tabs
      %li= link_to t(".our_areas"), "#"
      %li= link_to t(".recent_threads"), "#"
      %li= link_to t(".recent_issues"), "#"
    .panes
      .pane.area-map
        - if (@group.profile.location)
          - m = tiny_display_map(@group.profile, geometry_group_profile_path(@group, :json), "tinymap") do |map, page, dom_id|
            %div{id: dom_id, class: "tinymap"}
          != m.to_html
        - else
          %p= t ".no_location"
      .pane.recent-threads
        - if (@recent_threads.count > 0)
          %ul
            - @recent_threads.each do |thread|
              %li= link_to thread.title, thread_path(thread)
        - else
          %p= t ".no_threads"
      .pane.recent-issues
        .issue-map
          - if (@group.profile.location)
            - m2 = display_bbox_map(@group.profile.location, all_geometries_issues_path(:json)) do |map2, page2|
              %div#map
            != m2.to_html
        .issue-list
          - if (@recent_issues.count > 0)
            %ul
              - @recent_issues.each do |issue|
                %li= link_to issue.title, issue_path(issue)
          - else
            %p= t ".no_issues"

%aside#sidebar
  - if current_user && !@group.members.include?(current_user)
    %section.group-homepage-join
      %h2= t ".join_title"
      %p= t ".join_body", group: @group.name
      = link_to t(".join_this_group"), new_group_membership_request_path(@group), class: "btn-green"
  %section.box
    %h2= t ".group_organisers"
    %ul.following-thread
      - @group.committee_members.each do |member|
        %li= link_to_profile member
{'fraction_non_alphanumeric': 0.14008859357696568, 'fraction_numerical': 0.0049833887043189366, 'mean_word_length': 2.111972437553833, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1054871', 'n_tokens_mistral': 1246, 'n_tokens_neox': 1212, 'n_words': 234}