<commit_before><template name="sidenav">
  <ul id="cherish-mobile-nav" class="side-nav">
    <li class="logo-wrapper">
      <a class="brand-logo" href="{{pathFor 'initiatives'}}">Cherish</a>
    </li>
    <!-- Removing this for now, as it serves no purpose -->
    <!--<li><a href="{{pathFor 'about'}}">About</a></li>-->
    {{#if currentUser }}
      <li><a href="{{pathFor 'profile'}}"><i class="material-icons tiny">account_circle</i> My Profile</a></li>
      {{#if currentUser.hasInitiative}}
      <li><a href="{{pathFor 'initiative.mine'}}"><i class="material-icons tiny">favorite</i> My Initiative</a></li>
      {{else}}
      <li><a href="{{pathFor 'initiative.create'}}"><i class="material-icons tiny">favorite</i> Start Initiative</a></li>
      {{/if}}
      <li class="divider"></li>
      <li>
        <a class="notifications-button--action open-notifications" href="#notifications_modal">
          <i class="material-icons tiny">{{#unless hasNotifications}}notifications_none{{else}}notifications{{/unless}}</i>{{#if hasNotifications}}<span class="notifications-button--action__badge">{{getNotificationsCount}}</span>{{/if}} <span>My Notifications</span>
        </a>
      </li>
      <li class="divider"></li>
      <li><a class="logout" href="#">Sign out</a></li>

    {{else}}
      <li><a href="{{pathFor 'login'}}">Sign in</a></li>
      <li><a href="{{pathFor 'signup'}}">Register</a></li>
    {{/if}}
  </ul>
</template><commit_msg>Fix notifications modal in nav<commit_after><template name="sidenav">
  <ul id="cherish-mobile-nav" class="side-nav">
    <li class="logo-wrapper">
      <a class="brand-logo" href="{{pathFor 'initiatives'}}">Cherish</a>
    </li>
    <!-- Removing this for now, as it serves no purpose -->
    <!--<li><a href="{{pathFor 'about'}}">About</a></li>-->
    {{#if currentUser }}
      <li><a href="{{pathFor 'profile'}}"><i class="material-icons tiny">account_circle</i> My Profile</a></li>
      {{#if currentUser.hasInitiative}}
      <li><a href="{{pathFor 'initiative.mine'}}"><i class="material-icons tiny">favorite</i> My Initiative</a></li>
      {{else}}
      <li><a href="{{pathFor 'initiative.create'}}"><i class="material-icons tiny">favorite</i> Start Initiative</a></li>
      {{/if}}
      <li class="divider"></li>
      <li>

        <a class="notifications-button--action open-notifications" href="#modal_notifications">
          <i class="material-icons tiny">{{#unless hasNotifications}}notifications_none{{else}}notifications{{/unless}}</i>{{#if hasNotifications}}<span class="notifications-button--action__badge">{{getNotificationsCount}}</span>{{/if}} <span>My Notifications</span>
        </a>
      </li>
      <li class="divider"></li>
      <li><a class="logout" href="#">Sign out</a></li>

    {{else}}
      <li><a href="{{pathFor 'login'}}">Sign in</a></li>
      <li><a href="{{pathFor 'signup'}}">Register</a></li>
    {{/if}}
  </ul>
</template>
{'fraction_non_alphanumeric': 0.23585548738922973, 'fraction_numerical': 0.0, 'mean_word_length': 4.0256849315068495, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 119, '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': '7305136', 'n_tokens_mistral': 976, 'n_tokens_neox': 953, 'n_words': 173}