<commit_before>@(id: String, repository: service.RepositoryService.RepositoryInfo, active: String)(implicit context: app.Context)
@import context._
@import view.helpers._
<ul class="nav nav-tabs">
  <li>
    <div class="btn-group" style="margin-right: 20px;">
      <button class="btn dropdown-toggle" data-toggle="dropdown">
        @if(id.length == 40){
          tree: <strong>@id.substring(0, 10)</strong>
        } else {
          branch: <strong>@id</strong>
        }
        <span class="caret"></span>
      </button>
      <ul class="dropdown-menu">
        @repository.branchList.map { branch =>
          <li><a href="@url(repository)/@if(active=="commits"){commits} else {tree}/@branch">@branch</a></li>
        }
      </ul>
    </div>
  </li>
  <li@if(active=="files"){ class="active"}><a href="@url(repository)/tree/@id">Files</a></li>
  <li@if(active=="commits"){ class="active"}><a href="@url(repository)/commits/@id">Commits</a></li>
  <li@if(active=="tags"){ class="active"}><a href="@url(repository)/tags">Tags@if(repository.tags.length > 0){ <span class="badge">@repository.tags.length</span>}</a></li>
  <li class="pull-right">
    <div class="input-prepend">
      <span class="add-on">HTTP</span>
      <input type="text" value="@repository.url" id="repository-url" readonly>
    </div>
  </li>
</ul><commit_msg>Add check icon to branch pulldown.<commit_after>@(id: String, repository: service.RepositoryService.RepositoryInfo, active: String)(implicit context: app.Context)
@import context._
@import view.helpers._
<ul class="nav nav-tabs">
  <li>
    <div class="btn-group" style="margin-right: 20px;">
      <button class="btn dropdown-toggle" data-toggle="dropdown">
        @if(id.length == 40){
          tree: <strong>@id.substring(0, 10)</strong>
        } else {
          branch: <strong>@id</strong>
        }
        <span class="caret"></span>
      </button>
      <ul class="dropdown-menu">
        @repository.branchList.map { branch =>
          <li><a href="@url(repository)/@if(active=="commits"){commits} else {tree}/@branch">@helper.html.checkicon(id == branch) @branch</a></li>
        }
      </ul>
    </div>
  </li>
  <li@if(active=="files"){ class="active"}><a href="@url(repository)/tree/@id">Files</a></li>
  <li@if(active=="commits"){ class="active"}><a href="@url(repository)/commits/@id">Commits</a></li>
  <li@if(active=="tags"){ class="active"}><a href="@url(repository)/tags">Tags@if(repository.tags.length > 0){ <span class="badge">@repository.tags.length</span>}</a></li>
  <li class="pull-right">
    <div class="input-prepend">
      <span class="add-on">HTTP</span>
      <input type="text" value="@repository.url" id="repository-url" readonly>
    </div>
  </li>
</ul>
{'fraction_non_alphanumeric': 0.22092172640819313, 'fraction_numerical': 0.005852231163130944, 'mean_word_length': 3.8665480427046264, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 89, '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': '109122', 'n_tokens_mistral': 939, 'n_tokens_neox': 906, 'n_words': 150}