<commit_before>{{!
    Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
    Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
    Created By: <EMAIL>
    Maintained By: <EMAIL>
}}

<h1 class="entities">
  {{#if_equals model.table_singular 'person'}}
    {{#is_dashboard}}
      {{^system_role 'No Access'}}
        <button class="lhn-trigger">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
      {{/system_role}}
      My Work
    {{else}}
      {{^system_role 'No Access'}}
        <button class="lhn-trigger pull-left">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
      {{/system_role}}
      <span class="title-content">
        <i class="grciconlarge-{{model.table_singular}}"></i>
        {{firstnonempty instance.name instance.email}}
      </span>
    {{/is_dashboard}}
  {{/if_equals}}

  {{^if_equals model.table_singular 'person'}}
    <button class="lhn-trigger">
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </button>
    <span class="title-content">
      <i class="grciconlarge-{{model.table_singular}}"></i>
      {{instance.title}}
      {{#if_equals model.table_singular 'program'}}
        {{#if instance.private}}
          <span class="private">
            <i class="grcicon-private" rel="tooltip" title="Private"></i>
          </span>
        {{/if}}
      {{/if_equals}}
    </span>
  {{/if_equals}}
</h1>
<ul class="menu">
  <li>
    <a href="javascript://" data-toggle="multitype-search-modal-selector" data-join-object-type="MultitypeSearch" data-original-title="search items">
      <i class="grcicon-search"></i>
      <span>Search</span>
    </a>
  </li>
  <li>
    <a href="/dashboard#task_widget" id="page-help">
      <i class="grcicon-task-black"></i>
      <span>
        My Tasks
        <span class="task-count"></span>
      </span>
    </a>
  </li>
  <li>
    <a href="/import" id="page-help">
      <i class="grcicon-imp-exp"></i>
      <span>
        Import
      </span>
    </a>
  </li>
  <li class="user user-dropdown dropdown">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">
      <i class="grcicon-user-black"></i>
      <span>{{current_user.email}}</span>
      <i class="grcicon-carot"></i>
    </a>
    <ul class="dropdown-menu" aria-labelledby="drop1" role="menu">
      <li class="full-opacity">
        <a href="/dashboard">
          <i class="grcicon-my-work"></i>
          My Work ({{current_user.system_wide_role}})
        </a>
      </li>
      {{#current_user_is_admin}}
      <li>
        <a href="/admin#people_list_widget">
          <i class="grcicon-dashboard-black"></i>
          Admin Dashboard
        </a>
      </li>
      {{/current_user_is_admin}}
      <li class="notify-wrap">
        <span>
          <i class="grcicon-alarm-black"></i>
          Notifications
        </span>
        <div class="inner-list">
          <label>
            <input type="checkbox" name="notifications" value="Email_Digest">
            Daily email digest
          </label>
          <label class="inner disabled">
            <input type="checkbox" name="notifications" value="Email_Now" disabled>
            Real-time email updates
          </label>
        </div>
      </li>
      <li>
        <a href="/logout" tabindex="-1">
          <i class="grcicon-logout-black"></i>
          Logout
        </a>
      </li>
    </ul>
  </li>
  <li>
    <a class="nav-trigger active" href="javascript://">
      <i class="grcicon-nav-trigger"></i>
      <span>Menu</span>
    </a>
  </li>
  <li>
    <a href="javascript://" id="#page-help" data-toggle="modal-ajax-helpform" data-help-slug="{{self.page_help()|trim}}">
      <i class="grcicon-help-black"></i>
      <span>Help</span>
    </a>
  </li>
</ul>
<commit_msg>Add all export and data grid links user menu<commit_after>{{!
    Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file>
    Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
    Created By: <EMAIL>
    Maintained By: <EMAIL>
}}

<h1 class="entities">
  {{#if_equals model.table_singular 'person'}}
    {{#is_dashboard}}
      {{^system_role 'No Access'}}
        <button class="lhn-trigger">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
      {{/system_role}}
      My Work
    {{else}}
      {{^system_role 'No Access'}}
        <button class="lhn-trigger pull-left">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
      {{/system_role}}
      <span class="title-content">
        <i class="grciconlarge-{{model.table_singular}}"></i>
        {{firstnonempty instance.name instance.email}}
      </span>
    {{/is_dashboard}}
  {{/if_equals}}

  {{^if_equals model.table_singular 'person'}}
    <button class="lhn-trigger">
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </button>
    <span class="title-content">
      <i class="grciconlarge-{{model.table_singular}}"></i>
      {{instance.title}}
      {{#if_equals model.table_singular 'program'}}
        {{#if instance.private}}
          <span class="private">
            <i class="grcicon-private" rel="tooltip" title="Private"></i>
          </span>
        {{/if}}
      {{/if_equals}}
    </span>
  {{/if_equals}}
</h1>
<ul class="menu">
  <li>
    <a href="javascript://" data-toggle="multitype-search-modal-selector" data-join-object-type="MultitypeSearch" data-original-title="search items">
      <i class="grcicon-search"></i>
      <span>Search</span>
    </a>
  </li>
  <li>
    <a href="/dashboard#task_widget" id="page-help">
      <i class="grcicon-task-black"></i>
      <span>
        My Tasks
        <span class="task-count"></span>
      </span>
    </a>
  </li>
  <li>
    <a href="/import" id="page-help">
      <i class="grcicon-imp-exp"></i>
      <span>
        Import
      </span>
    </a>
  </li>
  <li class="user user-dropdown dropdown">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">
      <i class="grcicon-user-black"></i>
      <span>{{current_user.email}}</span>
      <i class="grcicon-carot"></i>
    </a>
    <ul class="dropdown-menu" aria-labelledby="drop1" role="menu">
      <li class="full-opacity">
        <a href="/dashboard">
          <i class="grcicon-my-work"></i>
          My Work ({{current_user.system_wide_role}})
        </a>
      </li>
      {{#current_user_is_admin}}
      <li>
        <a href="/admin#people_list_widget">
          <i class="grcicon-dashboard-black"></i>
          Admin Dashboard
        </a>
      </li>
      {{/current_user_is_admin}}
      <li class="notify-wrap">
        <span>
          <i class="grcicon-alarm-black"></i>
          Notifications
        </span>
        <div class="inner-list">
          <label>
            <input type="checkbox" name="notifications" value="Email_Digest">
            Daily email digest
          </label>
          <label class="inner disabled">
            <input type="checkbox" name="notifications" value="Email_Now" disabled>
            Real-time email updates
          </label>
        </div>
      </li>
      <li>
        <a href="/export">
          Data export
        </a>
      </li>
      <li>
        <a href="/export?data_grid=true">
          Data grid
        </a>
      </li>
      <li>
        <a href="/logout" tabindex="-1">
          <i class="grcicon-logout-black"></i>
          Logout
        </a>
      </li>
    </ul>
  </li>
  <li>
    <a class="nav-trigger active" href="javascript://">
      <i class="grcicon-nav-trigger"></i>
      <span>Menu</span>
    </a>
  </li>
  <li>
    <a href="javascript://" id="#page-help" data-toggle="modal-ajax-helpform" data-help-slug="{{self.page_help()|trim}}">
      <i class="grcicon-help-black"></i>
      <span>Help</span>
    </a>
  </li>
</ul>

{'fraction_non_alphanumeric': 0.1925872093023256, 'fraction_numerical': 0.0024224806201550387, 'mean_word_length': 2.2571992110453647, 'pattern_counts': {'":': 0, '<': 271, '<?xml version=': 0, '>': 271, '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': '4737873', 'n_tokens_mistral': 2763, 'n_tokens_neox': 2748, 'n_words': 520}