<commit_before>.board{ ":class" => '{ "is-draggable": !list.preset, "is-expandable": list.isExpandable, "is-collapsed": !list.isExpanded }',
  ":data-id" => "list.id" }
  .board-inner
    %header.board-header{ ":class" => '{ "has-border": list.label && list.label.color }', ":style" => "{ borderTopColor: (list.label && list.label.color ? list.label.color : null) }", "@click" => "toggleExpanded($event)" }
      %h3.board-title.js-board-handle{ ":class" => '{ "user-can-drag": (!disabled && !list.preset) }' }
        %i.fa.fa-fw.board-title-expandable-toggle{ "v-if": "list.isExpandable",
          ":class": "{ \"fa-caret-down\": list.isExpanded, \"fa-caret-right\": !list.isExpanded }",
          "aria-hidden": "true" }

        %span.board-title-text.has-tooltip{ "v-if": "list.type !== \"label\"",
          ":title" => '(list.label ? list.label.description : "")', data: { container: "body" } }
          {{ list.title }}

        %span.has-tooltip{ "v-if": "list.type === \"label\"",
          ":title" => '(list.label ? list.label.description : "")',
          data: { container: "body", placement: "bottom" },
          class: "label color-label title board-title-text",
          ":style" => "{ backgroundColor: (list.label && list.label.color ? list.label.color : null), color: (list.label && list.label.color ? list.label.text_color : \"#2e2e2e\") }" }
          {{ list.title }}
        - if can?(current_user, :admin_list, current_board_parent)
          %board-delete{ "inline-template" => true,
            ":list" => "list",
            "v-if" => "!list.preset && list.id" }
            %button.board-delete.has-tooltip.float-right{ type: "button", title: "Delete list", "aria-label" => "Delete list", data: { placement: "bottom" }, "@click.stop" => "deleteBoard" }
              = icon("trash")
        .issue-count-badge.clearfix{ "v-if" => 'list.type !== "blank"' }
          %span.issue-count-badge-count.float-left{ ":class" => '{ "has-btn": list.type !== "closed" && !disabled }' }
            {{ list.issuesSize }}
          - if can?(current_user, :admin_list, current_board_parent)
            %button.issue-count-badge-add-button.btn.btn-sm.btn-secondary.has-tooltip.js-no-trigger-collapse{ type: "button",
              "@click" => "showNewIssueForm",
              "v-if" => 'list.type !== "closed"',
              "aria-label" => "New issue",
              "title" => "New issue",
              data: { placement: "top", container: "body" } }
              = icon("plus", class: "js-no-trigger-collapse")

    %board-list{ "v-if" => 'list.type !== "blank"',
      ":list" => "list",
      ":issues" => "list.issues",
      ":loading" => "list.loading",
      ":disabled" => "disabled",
      ":issue-link-base" => "issueLinkBase",
      ":root-path" => "rootPath",
      ":groupId" => ((current_board_parent.id if @group) || 'null'),
      "ref" => "board-list" }
    - if can?(current_user, :admin_list, current_board_parent)
      %board-blank-state{ "v-if" => 'list.id == "blank"' }<commit_msg>[skip ci] Fix label headers for issue boards, rename to badge<commit_after>.board{ ":class" => '{ "is-draggable": !list.preset, "is-expandable": list.isExpandable, "is-collapsed": !list.isExpanded }',
  ":data-id" => "list.id" }
  .board-inner
    %header.board-header{ ":class" => '{ "has-border": list.label && list.label.color }', ":style" => "{ borderTopColor: (list.label && list.label.color ? list.label.color : null) }", "@click" => "toggleExpanded($event)" }
      %h3.board-title.js-board-handle{ ":class" => '{ "user-can-drag": (!disabled && !list.preset) }' }
        %i.fa.fa-fw.board-title-expandable-toggle{ "v-if": "list.isExpandable",
          ":class": "{ \"fa-caret-down\": list.isExpanded, \"fa-caret-right\": !list.isExpanded }",
          "aria-hidden": "true" }

        %span.board-title-text.has-tooltip{ "v-if": "list.type !== \"label\"",
          ":title" => '(list.label ? list.label.description : "")', data: { container: "body" } }
          {{ list.title }}

        %span.has-tooltip{ "v-if": "list.type === \"label\"",
          ":title" => '(list.label ? list.label.description : "")',
          data: { container: "body", placement: "bottom" },
          class: "badge color-label title board-title-text",
          ":style" => "{ backgroundColor: (list.label && list.label.color ? list.label.color : null), color: (list.label && list.label.color ? list.label.text_color : \"#2e2e2e\") }" }
          {{ list.title }}
        - if can?(current_user, :admin_list, current_board_parent)
          %board-delete{ "inline-template" => true,
            ":list" => "list",
            "v-if" => "!list.preset && list.id" }
            %button.board-delete.has-tooltip.float-right{ type: "button", title: "Delete list", "aria-label" => "Delete list", data: { placement: "bottom" }, "@click.stop" => "deleteBoard" }
              = icon("trash")
        .issue-count-badge.clearfix{ "v-if" => 'list.type !== "blank"' }
          %span.issue-count-badge-count.float-left{ ":class" => '{ "has-btn": list.type !== "closed" && !disabled }' }
            {{ list.issuesSize }}
          - if can?(current_user, :admin_list, current_board_parent)
            %button.issue-count-badge-add-button.btn.btn-sm.btn-secondary.has-tooltip.js-no-trigger-collapse{ type: "button",
              "@click" => "showNewIssueForm",
              "v-if" => 'list.type !== "closed"',
              "aria-label" => "New issue",
              "title" => "New issue",
              data: { placement: "top", container: "body" } }
              = icon("plus", class: "js-no-trigger-collapse")

    %board-list{ "v-if" => 'list.type !== "blank"',
      ":list" => "list",
      ":issues" => "list.issues",
      ":loading" => "list.loading",
      ":disabled" => "disabled",
      ":issue-link-base" => "issueLinkBase",
      ":root-path" => "rootPath",
      ":groupId" => ((current_board_parent.id if @group) || 'null'),
      "ref" => "board-list" }
    - if can?(current_user, :admin_list, current_board_parent)
      %board-blank-state{ "v-if" => 'list.id == "blank"' }
{'fraction_non_alphanumeric': 0.22191287258434328, 'fraction_numerical': 0.0013101867016049786, 'mean_word_length': 2.6634673065386925, 'pattern_counts': {'":': 62, '<': 3, '<?xml version=': 0, '>': 63, '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': '6023573', 'n_tokens_mistral': 2039, 'n_tokens_neox': 2025, 'n_words': 358}