<commit_before><div class="panel panel-default page-panel home-page">

  <div class="panel-heading clearfix">

    <div class="panel-title ">
      <div class="pull-left">
        <button type="button" class="navbar-toggle collapsed"
                ng-if="activeConfigStatus.executionMode != pipelineConstant.SLAVE"
                ng-class="{'selected' : !hideLibraryPanel}"
                ng-click="toggleLibraryPanel()"
                title="{{'home.header.toggleLibraryPane' | translate}}">
          <i class="icon-bar"></i>
          <i class="icon-bar"></i>
          <i class="icon-bar"></i>
        </button>
      </div>
      <h3 class="pull-left" translate="packageManager.title">Package Manager</h3>
    </div>

    <div ng-if="selectedNavigationItem !== extrasNavigationItem">
      <div class="pull-right">

        <a ng-disabled="hasSelectedLibrary(true)"
           ng-if="isAuthorized([userRoles.admin])"
           ng-click="selectedStageLibraryList.length === 0 || onInstallSelectedLibrariesClick()"
           tooltip-placement="bottom"
           tooltip="{{('packageManager.header.install' | translate)  + ' (' + selectedStageLibraryList.length + ')'}}"
           tooltip-popup-delay="500"
           class="btn btn-link icon-button">
          <i class="fa fa-plus-square fa-14x"></i>
        </a>

        <a ng-disabled="common.isSlaveNode || hasSelectedLibrary(false)"
           ng-if="isAuthorized([userRoles.admin])"
           ng-click="selectedStageLibraryList.length === 0 || onUninstallSelectedLibrariesClick()"
           tooltip-placement="bottom"
           tooltip="{{('packageManager.header.uninstall' | translate)  + ' (' + selectedStageLibraryList.length + ')'}}"
           tooltip-popup-delay="500"
           class="btn btn-link icon-button">
          <i class="fa fa-minus-square fa-14x"></i>
        </a>

      </div>

      <div class="pull-right">
        <div class="btn-group pipeline-search" >
          <input type="search" class="form-control" placeholder="Type to search"
                 ng-model="header.searchInput"
                 ng-change="updateStageLibraryList()">
          <span class="glyphicon glyphicon-remove-circle search-clear"
                ng-click="header.searchInput = '';updateStageLibraryList();"></span>
        </div>

        <div class="btn-group" dropdown
             ng-if="isAuthorized([userRoles.admin])"
             ng-hide="previewMode || snapshotMode">
       <span class="btn btn-link dropdown-toggle icon-button" dropdown-toggle aria-expanded="true"
             tooltip-placement="bottom" tooltip="{{'home.header.more' | translate}}"
             tooltip-trigger="{{iconOnly ? 'mouseenter' : 'notooltip'}}"
             tooltip-popup-delay="500"
             ng-click="$event.stopPropagation();">
          <i class="fa fa-ellipsis-h fa-14x"></i>
        </span>
          <ul class="dropdown-menu pull-right" role="menu">

            <li role="presentation"
                ng-if="isAuthorized([userRoles.admin])">
              <a href="#" dropdown-toggle
                 ng-click="onCustomRepoURLClick()">
                <i class="fa fa-globe"></i>
                <span> {{'packageManager.header.customRepoUrl' | translate}}</span>
              </a>
            </li>


          </ul>
        </div>

      </div>
    </div>

    <div ng-if="selectedNavigationItem === extrasNavigationItem"><commit_msg>SDC-6053. UI: Package Manager install button is clickable when it is disabled<commit_after><div class="panel panel-default page-panel home-page">

  <div class="panel-heading clearfix">

    <div class="panel-title ">
      <div class="pull-left">
        <button type="button" class="navbar-toggle collapsed"
                ng-if="activeConfigStatus.executionMode != pipelineConstant.SLAVE"
                ng-class="{'selected' : !hideLibraryPanel}"
                ng-click="toggleLibraryPanel()"
                title="{{'home.header.toggleLibraryPane' | translate}}">
          <i class="icon-bar"></i>
          <i class="icon-bar"></i>
          <i class="icon-bar"></i>
        </button>
      </div>
      <h3 class="pull-left" translate="packageManager.title">Package Manager</h3>
    </div>

    <div ng-if="selectedNavigationItem !== extrasNavigationItem">
      <div class="pull-right">

        <a ng-disabled="hasSelectedLibrary(true)"
           ng-if="isAuthorized([userRoles.admin])"
           ng-click="hasSelectedLibrary(true) || onInstallSelectedLibrariesClick()"
           tooltip-placement="bottom"
           tooltip="{{('packageManager.header.install' | translate)  + ' (' + selectedStageLibraryList.length + ')'}}"
           tooltip-popup-delay="500"
           class="btn btn-link icon-button">
          <i class="fa fa-plus-square fa-14x"></i>
        </a>

        <a ng-disabled="common.isSlaveNode || hasSelectedLibrary(false)"
           ng-if="isAuthorized([userRoles.admin])"
           ng-click="hasSelectedLibrary(false) || onUninstallSelectedLibrariesClick()"
           tooltip-placement="bottom"
           tooltip="{{('packageManager.header.uninstall' | translate)  + ' (' + selectedStageLibraryList.length + ')'}}"
           tooltip-popup-delay="500"
           class="btn btn-link icon-button">
          <i class="fa fa-minus-square fa-14x"></i>
        </a>

      </div>

      <div class="pull-right">
        <div class="btn-group pipeline-search" >
          <input type="search" class="form-control" placeholder="Type to search"
                 ng-model="header.searchInput"
                 ng-change="updateStageLibraryList()">
          <span class="glyphicon glyphicon-remove-circle search-clear"
                ng-click="header.searchInput = '';updateStageLibraryList();"></span>
        </div>

        <div class="btn-group" dropdown
             ng-if="isAuthorized([userRoles.admin])"
             ng-hide="previewMode || snapshotMode">
       <span class="btn btn-link dropdown-toggle icon-button" dropdown-toggle aria-expanded="true"
             tooltip-placement="bottom" tooltip="{{'home.header.more' | translate}}"
             tooltip-trigger="{{iconOnly ? 'mouseenter' : 'notooltip'}}"
             tooltip-popup-delay="500"
             ng-click="$event.stopPropagation();">
          <i class="fa fa-ellipsis-h fa-14x"></i>
        </span>
          <ul class="dropdown-menu pull-right" role="menu">

            <li role="presentation"
                ng-if="isAuthorized([userRoles.admin])">
              <a href="#" dropdown-toggle
                 ng-click="onCustomRepoURLClick()">
                <i class="fa fa-globe"></i>
                <span> {{'packageManager.header.customRepoUrl' | translate}}</span>
              </a>
            </li>

          </ul>
        </div>

      </div>
    </div>

    <div ng-if="selectedNavigationItem === extrasNavigationItem">
{'fraction_non_alphanumeric': 0.1591902126420041, 'fraction_numerical': 0.005825808330905913, 'mean_word_length': 2.3579462102689486, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, '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': '4158411', 'n_tokens_mistral': 2001, 'n_tokens_neox': 1889, 'n_words': 314}