<commit_before>{{!
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements.  See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership.  The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License.  You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
}}

<table class="table advanced-header-table table-bordered table-striped">
  <thead>
    {{#view view.sortView classNames="label-row" contentBinding="view.filteredContent"}}
      {{view view.parentView.serviceNameSort classNames="first"}}
      {{view view.parentView.componentNameSort}}
      {{view view.parentView.fileExtensionsSort}}
    {{/view}}
    <tr class="filter-row">
      <th class="first service-name-filter">{{view view.serviceNameFilterView}}</th>
      <th class="component-name-filter">{{view view.componentNameFilterView}}</th>
      <th class="file-extension-filter">{{view view.fileExtensionsFilter}}</th>
    </tr>
  </thead>
  <tbody>
    {{#if view.pageContent}}
      {{#each row in view.pageContent}}
        {{#view view.logFileRowView contentBinding="row"}}
          <td class="first">{{row.serviceDisplayName}}</td>
          <td>{{row.componentDisplayName}}</td>
          <td>
            {{#each file in row.fileNamesObject}}
              <p>
                <a {{action openLogFile row file.filePath target="view.parentView"}} href="#" rel="log-file-name-tooltip" {{bindAttr data-original-title="file.filePath"}}>{{file.fileName}}</a>
                {{#view App.LogSearchUILinkView linkQueryParamsBinding="file.linkTail" tagName="span"}}
                  <a {{bindAttr href="view.formatedLink"}} target="_blank" rel="log-file-name-tooltip" {{translateAttr title="popup.logTail.openInLogSearch"}} class="pull-right external-link">
                    <i class="icon-external-link"></i>
                    {{t popup.logTail.openInLogSearch}}
                  </a>
                {{/view}}
              </p>
              {{/each}}
          </td>
        {{/view}}
      {{/each}}
    {{/if}}
  </tbody>
</table>

<div class="page-bar">
  <div class="filtered-info span4">
    {{#if view.showFilteredContent}}
      <label>{{view.filteredContentInfo}} - <a {{action clearFilters target="view"}}
        href="#">{{t tableView.filters.clearAllFilters}}</a></label>
    {{/if}}
  </div>
  <div class="items-on-page">
    <label>{{t common.show}}: {{view view.rowsPerPageSelectView selectionBinding="view.parentView.displayLength"}}</label>
  </div>
  <div class="info">{{view.paginationInfo}}</div>
  <div class="paging_two_button">
    {{view view.paginationLeft}}
    {{view view.paginationRight}}
  </div>
</div>
<commit_msg>AMBARI-17232. [Ambari UI]Show more entries in Host Details > logs tab option not working  (akovalenko)<commit_after>{{!
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements.  See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership.  The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License.  You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
}}

<table class="table advanced-header-table table-bordered table-striped">
  <thead>
    {{#view view.sortView classNames="label-row" contentBinding="view.filteredContent"}}
      {{view view.parentView.serviceNameSort classNames="first"}}
      {{view view.parentView.componentNameSort}}
      {{view view.parentView.fileExtensionsSort}}
    {{/view}}
    <tr class="filter-row">
      <th class="first service-name-filter">{{view view.serviceNameFilterView}}</th>
      <th class="component-name-filter">{{view view.componentNameFilterView}}</th>
      <th class="file-extension-filter">{{view view.fileExtensionsFilter}}</th>
    </tr>
  </thead>
  <tbody>
    {{#if view.pageContent}}
      {{#each row in view.pageContent}}
        {{#view view.logFileRowView contentBinding="row"}}
          <td class="first">{{row.serviceDisplayName}}</td>
          <td>{{row.componentDisplayName}}</td>
          <td>
            {{#each file in row.fileNamesObject}}
              <p>
                <a {{action openLogFile row file.filePath target="view.parentView"}} href="#" rel="log-file-name-tooltip" {{bindAttr data-original-title="file.filePath"}}>{{file.fileName}}</a>
                {{#view App.LogSearchUILinkView linkQueryParamsBinding="file.linkTail" tagName="span"}}
                  <a {{bindAttr href="view.formatedLink"}} target="_blank" rel="log-file-name-tooltip" {{translateAttr title="popup.logTail.openInLogSearch"}} class="pull-right external-link">
                    <i class="icon-external-link"></i>
                    {{t popup.logTail.openInLogSearch}}
                  </a>
                {{/view}}
              </p>
              {{/each}}
          </td>
        {{/view}}
      {{/each}}
    {{/if}}
  </tbody>
</table>

<div class="page-bar">
  <div class="filtered-info span4">
    {{#if view.showFilteredContent}}
      <label>{{view.filteredContentInfo}} - <a {{action clearFilters target="view"}}
        href="#">{{t tableView.filters.clearAllFilters}}</a></label>
    {{/if}}
  </div>
  <div class="items-on-page">
    <label>{{t common.show}}: {{view view.rowsPerPageSelectView selectionBinding="view.displayLength"}}</label>
  </div>
  <div class="info">{{view.paginationInfo}}</div>
  <div class="paging_two_button">
    {{view view.paginationLeft}}
    {{view view.paginationRight}}
  </div>
</div>

{'fraction_non_alphanumeric': 0.1504204297726565, 'fraction_numerical': 0.0023357209592027406, 'mean_word_length': 3.3252525252525253, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 92, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3509413', 'n_tokens_mistral': 1895, 'n_tokens_neox': 1835, 'n_words': 483}