<commit_before><div class="container">
  <div class="row header-row">
    <div class="col-md-4">
      <div class="header">
        <h1 class="title">
          {{#if isHomepage}}
            <span {{action 'reloadHomepage'}}>
              {{#link-to 'timeline.home' (query-params offset=0)}}Pepyatka{{/link-to}}
            </span>
          {{else}}
            {{#link-to 'timeline.home' (query-params offset=0)}}Pepyatka{{/link-to}}
          {{/if}}
          <small class="mutted">0.3.0</small>
        </h1>
      </div>
    </div>

    <div class="col-md-8">
      <div class="row">
        <div class="col-md-6 search-field">
          <div class="form-inline">
            <!-- input class="form-control input-sm search-input p-search-input" / -->
            <!-- button class="btn btn-default btn-sm p-search-action">Search</button -->
          </div>
        </div>

        <div class="col-md-6">
          {{#unless controller.session.signedIn}}
            <div class="signin-toolbar">
              {{#link-to 'session.new'}}Sign In{{/link-to}}
                or
              {{#link-to 'users.new'}}Sign Up{{/link-to}}
            </div>
          {{/unless}}
        </div>
      </div>
    </div>
  </div>

  <div class="row">
    <div class="col-md-9">
      <div class="content">
        <div class="box">
          <div class="box-header-timeline">
            {{controller.title}}
          </div>
          {{#if hasMessage}}
            <div class="box-message alert alert-warning" id="snap-box">
              <span class="message">{{controller.session.message}}</span>
            </div>
          {{/if}}
          {{#if controller.session.currentUser.hasPendingSubscriptionRequests}}
            <div class="box-message alert alert-info" id="snap-box">
              <span class="message">
                {{#link-to 'requests.index'}}
                  You have {{controller.session.currentUser.subscriptionRequests.length}} invitations to review.
                {{/link-to}}
              </span>
            </div>
          {{/if}}
          <div class="box-body">
            {{yield}}
          </div>
          <div class="box-footer">
          </div>
        </div>
      </div>
    </div>

    <div class="col-md-3 sidebar">
      {{#if controller.session.signedIn}}
        <div class="logged">
          <div class="logged-avatar">
            {{#link-to 'timeline.index' controller.session.currentUser.username (query-params offset=0)}}<img class="media-object" src="{{ controller.session.currentUser.profilePictureMedium }}">{{/link-to}}
          </div>

          <div class="logged-user">
            <div class="author">
              {{#link-to 'timeline.index' controller.session.currentUser.username (query-params offset=0)}}{{controller.session.currentUser.screenName}}{{/link-to}}
            </div>
            <div>
              {{#link-to 'settings.index'}}settings{{/link-to}}
              -
              {{#link-to 'session.destroy'}}sign out{{/link-to}}
            </div>
          </div>
        </div>
      {{/if}}

      <div class="box">
        <div class="box-header-friends">
          Friends
        </div>
        <div class="box-body">
          <ul>
            <li class="p-home">{{#link-to 'timeline.home' (query-params offset=0)}}Home{{/link-to}}</li>
            <li class="p-direct-messages">{{#link-to 'timeline.directs'}}Direct messages{{/link-to}}</li>
            <li class="p-my-discussions">{{#link-to 'timeline.discussions' (query-params offset=0)}}My discussions{{/link-to}}</li>
          </ul>
        </div>
        <div class="box-footer">
          {{#link-to 'timeline.subscriptions' controller.session.currentUser.username}}Browse/edit friends{{/link-to}}
        </div>
      </div>

      <div class="box">
        <div class="box-header-groups">
          Groups
        </div>
        <div class="box-body">
          {{view 'my-groups'}}
        </div>
        <div class="box-footer">
          {{#link-to 'groups.home'}}Browse/edit groups{{/link-to}}
        </div>
      </div>
    </div>
  </div>

  <div class="row">
    <div class="col-md-9">
      {{view 'footer'}}
    </div>
  </div>
</div>
<commit_msg>Change pending requests wording. Fixes #633<commit_after><div class="container">
  <div class="row header-row">
    <div class="col-md-4">
      <div class="header">
        <h1 class="title">
          {{#if isHomepage}}
            <span {{action 'reloadHomepage'}}>
              {{#link-to 'timeline.home' (query-params offset=0)}}Pepyatka{{/link-to}}
            </span>
          {{else}}
            {{#link-to 'timeline.home' (query-params offset=0)}}Pepyatka{{/link-to}}
          {{/if}}
          <small class="mutted">0.3.0</small>
        </h1>
      </div>
    </div>

    <div class="col-md-8">
      <div class="row">
        <div class="col-md-6 search-field">
          <div class="form-inline">
            <!-- input class="form-control input-sm search-input p-search-input" / -->
            <!-- button class="btn btn-default btn-sm p-search-action">Search</button -->
          </div>
        </div>

        <div class="col-md-6">
          {{#unless controller.session.signedIn}}
            <div class="signin-toolbar">
              {{#link-to 'session.new'}}Sign In{{/link-to}}
                or
              {{#link-to 'users.new'}}Sign Up{{/link-to}}
            </div>
          {{/unless}}
        </div>
      </div>
    </div>
  </div>

  <div class="row">
    <div class="col-md-9">
      <div class="content">
        <div class="box">
          <div class="box-header-timeline">
            {{controller.title}}
          </div>
          {{#if hasMessage}}
            <div class="box-message alert alert-warning" id="snap-box">
              <span class="message">{{controller.session.message}}</span>
            </div>
          {{/if}}
          {{#if controller.session.currentUser.hasPendingSubscriptionRequests}}
            <div class="box-message alert alert-info" id="snap-box">
              <span class="message">
                {{#link-to 'requests.index'}}
                  You have {{controller.session.currentUser.subscriptionRequests.length}} subscription requests to review.
                {{/link-to}}
              </span>
            </div>
          {{/if}}
          <div class="box-body">
            {{yield}}
          </div>
          <div class="box-footer">
          </div>
        </div>
      </div>
    </div>

    <div class="col-md-3 sidebar">
      {{#if controller.session.signedIn}}
        <div class="logged">
          <div class="logged-avatar">
            {{#link-to 'timeline.index' controller.session.currentUser.username (query-params offset=0)}}<img class="media-object" src="{{ controller.session.currentUser.profilePictureMedium }}">{{/link-to}}
          </div>

          <div class="logged-user">
            <div class="author">
              {{#link-to 'timeline.index' controller.session.currentUser.username (query-params offset=0)}}{{controller.session.currentUser.screenName}}{{/link-to}}
            </div>
            <div>
              {{#link-to 'settings.index'}}settings{{/link-to}}
              -
              {{#link-to 'session.destroy'}}sign out{{/link-to}}
            </div>
          </div>
        </div>
      {{/if}}

      <div class="box">
        <div class="box-header-friends">
          Friends
        </div>
        <div class="box-body">
          <ul>
            <li class="p-home">{{#link-to 'timeline.home' (query-params offset=0)}}Home{{/link-to}}</li>
            <li class="p-direct-messages">{{#link-to 'timeline.directs'}}Direct messages{{/link-to}}</li>
            <li class="p-my-discussions">{{#link-to 'timeline.discussions' (query-params offset=0)}}My discussions{{/link-to}}</li>
          </ul>
        </div>
        <div class="box-footer">
          {{#link-to 'timeline.subscriptions' controller.session.currentUser.username}}Browse/edit friends{{/link-to}}
        </div>
      </div>

      <div class="box">
        <div class="box-header-groups">
          Groups
        </div>
        <div class="box-body">
          {{view 'my-groups'}}
        </div>
        <div class="box-footer">
          {{#link-to 'groups.home'}}Browse/edit groups{{/link-to}}
        </div>
      </div>
    </div>
  </div>

  <div class="row">
    <div class="col-md-9">
      {{view 'footer'}}
    </div>
  </div>
</div>

{'fraction_non_alphanumeric': 0.18971212836243512, 'fraction_numerical': 0.004601226993865031, 'mean_word_length': 1.806953642384106, 'pattern_counts': {'":': 0, '<': 187, '<?xml version=': 0, '>': 187, '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': '4906245', 'n_tokens_mistral': 2652, 'n_tokens_neox': 2608, 'n_words': 462}