<commit_before><div class="breadcrumb-bar">
  <span>
      <ol class="breadcrumb">
        <li class="active">{{ 'Services' | translate }}</li>
      </ol>
  </span>
  <div class="view-selector-bar">
    <div class="form-group toolbar-pf-view-selector">
      <button class="btn btn-link"
              ng-click="vm.viewSelected('listView')"
              ng-class="{active: vm.viewType === 'listView'}">
        <i class="fa fa-th-list"></i>
      </button>
      <button class="btn btn-link"
              ng-click="vm.viewSelected('cardView')"
              ng-class="{active: vm.viewType === 'cardView'}">
        <i class="fa fa-th"></i>
      </button>
    </div>
  </div>
</div>
<div pf-toolbar class="section-toolbar section-toolbar-right-actions" config="vm.headerConfig">
  <actions>
    <custom-dropdown class="custom-dropdown pull-left"
                     config="item"
                     items="vm.selectedItemsList"
                     items-count="vm.selectedItemsListCount"
                     ng-repeat="item in vm.listActions"
                     on-update="vm.listActionDisable($config, $changes)"
                     menu-right="true">
    </custom-dropdown>
  </actions>
</div>
<div ng-if="vm.viewType == 'cardView'" class="list-view-container section-container paged-container">
  <loading status="vm.loading"></loading>
  <div ng-if="!vm.loading" pf-card-view id="cardView" config="vm.cardConfig" items="vm.servicesList">
    <ss-card
      header="item.name"
      description="item.description"
      image="item.picture.image_href">
    </ss-card>
    <div>
      <power-state item="item"></power-state>
    </div>
  </div>
</div>
<div ng-if="vm.viewType == 'listView'" class="list-view-container section-container paged-container explorer-list">
  <loading status="vm.loading"></loading>
  <div ng-if="!vm.loading" pf-list-view id="serviceList" config="vm.listConfig"
       items="vm.servicesList"
       menu-actions="vm.menuActions"
       update-menu-action-for-item-fn="vm.updateMenuActionForItemFn"
       custom-scope="vm">
    <div class="row">
      <div class="col-lg-4 col-md-4 col-sm-5 col-xs-8 name-column">
        <span class="no-wrap">
         <i class="fa pficon power-icon" ng-class="item.power.icon"
            uib-tooltip="item.power.tooltip"
            tooltip-append-to-body="true"
            tooltip-popup-delay="1000"
            tooltip-placement="bottom"></i>
        <a uib-tooltip="{{item.name}}"
           tooltip-placement="bottom"
           tooltip-append-to-body="true"
           tooltip-popup-delay="1000"
           ng-click="customScope.viewService(item, $event)">
          <span class="ss-list-view__title-img">
            <span class="ss-list-view__title-img__center"></span>
            <img class="ss-list-view__title-img__logo" ng-src="{{ item.picture.image_href }}"
                 ng-if=" item.picture.image_href"/>
            <img class="ss-list-view__title-img__logo" src="images/service.png" ng-if=" !item.picture.image_href"/>
          </span>
          <span>
            {{ item.name }}
          </span>
        </a>
        </span>
      </div>
      <div class="col-lg-3 col-md-3 col-sm-3 col-xs-4" ng-if="!customScope.isAnsibleService(item)">
        <span class="no-wrap" uib-tooltip="{{ '[[number]] VMs'|translate|substitute:{number: item.v_total_vms} }}"
              tooltip-append-to-body="true"
              tooltip-popup-delay="1000"
              tooltip-placement="bottom">
           <i class="pficon pficon-screen"></i>
          <span>
            {{ item.v_total_vms }}
          </span>
        </span>
      </div>
      <div class="col-lg-3 col-md-3 col-sm-3 col-xs-4" ng-if="customScope.isAnsibleService(item)">
        <span class="no-wrap" uib-tooltip="{{ 'Playbook: [[playbook]]'|translate|substitute:{playbook: item.playbook} }}"
              tooltip-append-to-body="true"
              tooltip-popup-delay="1000"
              tooltip-placement="bottom">
          {{item.playbook}}
        </span>
      </div>
      <div class="col-lg-2 col-md-2 col-sm-2 hidden-xs">
        <div class="list-view-stacked-item" uib-tooltip="Created: {{item.created_at | date : 'short'}}"
             tooltip-append-to-body="true"
             tooltip-popup-delay="1000"
             tooltip-placement="bottom-left">
          <strong translate>Created</strong>
          <div>
            {{ item.created_at | date : 'short' }}
          </div>
        </div>
      </div>
      <div class="col-lg-2 col-md-2 col-sm-2 hidden-xs">
        <div class="list-view-stacked-item"
             uib-tooltip="{{item.retires_on ? (item.retires_on | date : 'medium') : ('Never' | translate)}}"
             tooltip-append-to-body="true"
             tooltip-popup-delay="1000"
             tooltip-placement="bottom">
          <strong translate>Retires</strong>&nbsp;
          <div>
            {{item.retires_on ? (item.retires_on | date : 'short') : ('Never' | translate)}}
          </div>
        </div>
      </div>
      <div class="col-lg-1 col-md-1 hidden-sm hidden-xs">
        <span class="no-wrap">
          <strong ng-if="item.chargeback_relative_cost"
                  uib-tooltip="{{'Relative current cost'|translate}}"
                  tooltip-append-to-body="true"
                  tooltip-popup-delay="1000"
                  tooltip-placement="bottom">
            {{ item.chargeback_relative_cost }}
          </strong>
          <i ng-if="!item.chargeback_relative_cost"
             class="fa fa-question-circle-o fa-fw"
             uib-tooltip="{{'Cost not available'|translate}}"
             tooltip-append-to-body="true"
             tooltip-popup-delay="1000"
             tooltip-placement="bottom">
          </i>
        </span>
      </div>
    </div>
    <list-expanded-content>
      <div pf-list-view
           class="explorer-children-list"
           config="vm.serviceChildrenListConfig"
           items="$parent.item.all_service_children"
           custom-scope="vm"
           update-menu-action-for-item-fn="vm.updateMenuActionForItemFn">
        <div class="row">
          <div class="col-lg-4 col-md-4 col-sm-5 col-xs-8 name-column">
            <span class="no-wrap">
              <i class="fa pficon" ng-class="item.power.icon"
                 uib-tooltip="item.power.tooltip"
                 tooltip-append-to-body="true"
                 tooltip-popup-delay="1000"
                 tooltip-placement="bottom"></i>
              <a uib-tooltip="{{item.name}}"
                 tooltip-placement="bottom"
                 tooltip-append-to-body="true"
                 tooltip-popup-delay="1000"
                 ng-click="customScope.viewService(item, $event)">
              <span class="ss-list-view__title-img">
                <span class="ss-list-view__title-img__center"></span>
                <img class="ss-list-view__title-img__logo" ng-src="{{ item.picture.image_href }}"
                     ng-if=" item.picture.image_href"/>
                <img class="ss-list-view__title-img__logo" src="images/service.png" ng-if=" !item.picture.image_href"/>
              </span><commit_msg>Fixed tooltip text<commit_after><div class="breadcrumb-bar">
  <span>
      <ol class="breadcrumb">
        <li class="active">{{ 'Services' | translate }}</li>
      </ol>
  </span>
  <div class="view-selector-bar">
    <div class="form-group toolbar-pf-view-selector">
      <button class="btn btn-link"
              ng-click="vm.viewSelected('listView')"
              ng-class="{active: vm.viewType === 'listView'}">
        <i class="fa fa-th-list"></i>
      </button>
      <button class="btn btn-link"
              ng-click="vm.viewSelected('cardView')"
              ng-class="{active: vm.viewType === 'cardView'}">
        <i class="fa fa-th"></i>
      </button>
    </div>
  </div>
</div>
<div pf-toolbar class="section-toolbar section-toolbar-right-actions" config="vm.headerConfig">
  <actions>
    <custom-dropdown class="custom-dropdown pull-left"
                     config="item"
                     items="vm.selectedItemsList"
                     items-count="vm.selectedItemsListCount"
                     ng-repeat="item in vm.listActions"
                     on-update="vm.listActionDisable($config, $changes)"
                     menu-right="true">
    </custom-dropdown>
  </actions>
</div>
<div ng-if="vm.viewType == 'cardView'" class="list-view-container section-container paged-container">
  <loading status="vm.loading"></loading>
  <div ng-if="!vm.loading" pf-card-view id="cardView" config="vm.cardConfig" items="vm.servicesList">
    <ss-card
      header="item.name"
      description="item.description"
      image="item.picture.image_href">
    </ss-card>
    <div>
      <power-state item="item"></power-state>
    </div>
  </div>
</div>
<div ng-if="vm.viewType == 'listView'" class="list-view-container section-container paged-container explorer-list">
  <loading status="vm.loading"></loading>
  <div ng-if="!vm.loading" pf-list-view id="serviceList" config="vm.listConfig"
       items="vm.servicesList"
       menu-actions="vm.menuActions"
       update-menu-action-for-item-fn="vm.updateMenuActionForItemFn"
       custom-scope="vm">
    <div class="row">
      <div class="col-lg-4 col-md-4 col-sm-5 col-xs-8 name-column">
        <span class="no-wrap">
         <i class="fa pficon power-icon" ng-class="item.power.icon"
            uib-tooltip="{{item.power.tooltip}}"
            tooltip-append-to-body="true"
            tooltip-popup-delay="1000"
            tooltip-placement="bottom"></i>
        <a uib-tooltip="{{item.name}}"
           tooltip-placement="bottom"
           tooltip-append-to-body="true"
           tooltip-popup-delay="1000"
           ng-click="customScope.viewService(item, $event)">
          <span class="ss-list-view__title-img">
            <span class="ss-list-view__title-img__center"></span>
            <img class="ss-list-view__title-img__logo" ng-src="{{ item.picture.image_href }}"
                 ng-if=" item.picture.image_href"/>
            <img class="ss-list-view__title-img__logo" src="images/service.png" ng-if=" !item.picture.image_href"/>
          </span>
          <span>
            {{ item.name }}
          </span>
        </a>
        </span>
      </div>
      <div class="col-lg-3 col-md-3 col-sm-3 col-xs-4" ng-if="!customScope.isAnsibleService(item)">
        <span class="no-wrap" uib-tooltip="{{ '[[number]] VMs'|translate|substitute:{number: item.v_total_vms} }}"
              tooltip-append-to-body="true"
              tooltip-popup-delay="1000"
              tooltip-placement="bottom">
           <i class="pficon pficon-screen"></i>
          <span>
            {{ item.v_total_vms }}
          </span>
        </span>
      </div>
      <div class="col-lg-3 col-md-3 col-sm-3 col-xs-4" ng-if="customScope.isAnsibleService(item)">
        <span class="no-wrap" uib-tooltip="{{ 'Playbook: [[playbook]]'|translate|substitute:{playbook: item.playbook} }}"
              tooltip-append-to-body="true"
              tooltip-popup-delay="1000"
              tooltip-placement="bottom">
          {{item.playbook}}
        </span>
      </div>
      <div class="col-lg-2 col-md-2 col-sm-2 hidden-xs">
        <div class="list-view-stacked-item" uib-tooltip="Created: {{item.created_at | date : 'short'}}"
             tooltip-append-to-body="true"
             tooltip-popup-delay="1000"
             tooltip-placement="bottom-left">
          <strong translate>Created</strong>
          <div>
            {{ item.created_at | date : 'short' }}
          </div>
        </div>
      </div>
      <div class="col-lg-2 col-md-2 col-sm-2 hidden-xs">
        <div class="list-view-stacked-item"
             uib-tooltip="{{item.retires_on ? (item.retires_on | date : 'medium') : ('Never' | translate)}}"
             tooltip-append-to-body="true"
             tooltip-popup-delay="1000"
             tooltip-placement="bottom">
          <strong translate>Retires</strong>&nbsp;
          <div>
            {{item.retires_on ? (item.retires_on | date : 'short') : ('Never' | translate)}}
          </div>
        </div>
      </div>
      <div class="col-lg-1 col-md-1 hidden-sm hidden-xs">
        <span class="no-wrap">
          <strong ng-if="item.chargeback_relative_cost"
                  uib-tooltip="{{'Relative current cost'|translate}}"
                  tooltip-append-to-body="true"
                  tooltip-popup-delay="1000"
                  tooltip-placement="bottom">
            {{ item.chargeback_relative_cost }}
          </strong>
          <i ng-if="!item.chargeback_relative_cost"
             class="fa fa-question-circle-o fa-fw"
             uib-tooltip="{{'Cost not available'|translate}}"
             tooltip-append-to-body="true"
             tooltip-popup-delay="1000"
             tooltip-placement="bottom">
          </i>
        </span>
      </div>
    </div>
    <list-expanded-content>
      <div pf-list-view
           class="explorer-children-list"
           config="vm.serviceChildrenListConfig"
           items="$parent.item.all_service_children"
           custom-scope="vm"
           update-menu-action-for-item-fn="vm.updateMenuActionForItemFn">
        <div class="row">
          <div class="col-lg-4 col-md-4 col-sm-5 col-xs-8 name-column">
            <span class="no-wrap">
              <i class="fa pficon" ng-class="item.power.icon"
                 uib-tooltip="{{item.power.tooltip}}"
                 tooltip-append-to-body="true"
                 tooltip-popup-delay="1000"
                 tooltip-placement="bottom"></i>
              <a uib-tooltip="{{item.name}}"
                 tooltip-placement="bottom"
                 tooltip-append-to-body="true"
                 tooltip-popup-delay="1000"
                 ng-click="customScope.viewService(item, $event)">
              <span class="ss-list-view__title-img">
                <span class="ss-list-view__title-img__center"></span>
                <img class="ss-list-view__title-img__logo" ng-src="{{ item.picture.image_href }}"
                     ng-if=" item.picture.image_href"/>
                <img class="ss-list-view__title-img__logo" src="images/service.png" ng-if=" !item.picture.image_href"/>
              </span>
{'fraction_non_alphanumeric': 0.1667248969324296, 'fraction_numerical': 0.0089441688211865, 'mean_word_length': 2.062700620586347, 'pattern_counts': {'":': 0, '<': 223, '<?xml version=': 0, '>': 223, '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': '3630176', 'n_tokens_mistral': 4523, 'n_tokens_neox': 4350, 'n_words': 655}