<commit_before>{{#if enabled}}
  {{#if stats}}
    <table class='tbl spam-stats'>
      <tr>
        <th>{{i18n "akismet.stats.scanned"}}</th>
        <th>{{i18n "akismet.stats.needs_review"}}</th>
        <th>{{i18n "akismet.stats.confirmed_spam"}}</th>
        <th>{{i18n "akismet.stats.confirmed_ham"}}</th>
      </tr>
      <tr>
        <td>{{stats.scanned}}</td>
        <td>{{stats.needs_review}}</td>
        <td>{{stats.confirmed_spam}}</td>
        <td>{{stats.confirmed_ham}}</td>
      </tr>
    </table>
  {{/if}}

  {{#if currentUser.admin}}
    {{d-button label="admin.plugins.change_settings" icon="gear" class='settings-button' action="showSettings"}}
  {{/if}}

  {{d-button action="refresh" icon="refresh" class="btn-primary" label="akismet.refresh" disabled=performingAction}}

  {{#if length}}
    <h3 class='review-queue'>{{i18n "akismet.posts_to_review"}}</h3>

    <div class="row">
      <table class='akismet-queue'>
        <tbody>
        {{#each post in model}}
          <tr>
            <td class="cooked">

              <div class='post-info'>
                <a href="/users/{{unbound post.username}}" data-user-card="{{unbound post.username}}">
                  {{avatar post imageSize="small"}}
                  {{post.username}}
                </a>
                <a {{bind-attr href="post.url"}} target="_blank" class="post-link">#{{post.id}}</a>
              </div>
              {{{post.cooked}}}
              <div class="queue-actions">
                {{d-button action="confirmSpamPost"
                              actionParam=post
                              icon="check"
                              class="btn-primary"
                              label="akismet.confirm_spam"
                              disabled=performingAction}}

                {{d-button action="allowPost"
                              actionParam=post
                              icon="thumbs-o-up"
                              label="akismet.not_spam"<commit_msg>FIX: Admin User URL for subdirectory installs<commit_after>{{#if enabled}}
  {{#if stats}}
    <table class='tbl spam-stats'>
      <tr>
        <th>{{i18n "akismet.stats.scanned"}}</th>
        <th>{{i18n "akismet.stats.needs_review"}}</th>
        <th>{{i18n "akismet.stats.confirmed_spam"}}</th>
        <th>{{i18n "akismet.stats.confirmed_ham"}}</th>
      </tr>
      <tr>
        <td>{{stats.scanned}}</td>
        <td>{{stats.needs_review}}</td>
        <td>{{stats.confirmed_spam}}</td>
        <td>{{stats.confirmed_ham}}</td>
      </tr>
    </table>
  {{/if}}

  {{#if currentUser.admin}}
    {{d-button label="admin.plugins.change_settings" icon="gear" class='settings-button' action="showSettings"}}
  {{/if}}

  {{d-button action="refresh" icon="refresh" class="btn-primary" label="akismet.refresh" disabled=performingAction}}

  {{#if length}}
    <h3 class='review-queue'>{{i18n "akismet.posts_to_review"}}</h3>

    <div class="row">
      <table class='akismet-queue'>
        <tbody>
        {{#each post in model}}
          <tr>
            <td class="cooked">

              <div class='post-info'>
                {{#link-to 'adminUser' post.username}}{{avatar post imageSize="small"}} {{post.username}}{{/link-to}}
                <a {{bind-attr href="post.url"}} target="_blank" class="post-link">#{{post.id}}</a>
              </div>
              {{{post.cooked}}}
              <div class="queue-actions">
                {{d-button action="confirmSpamPost"
                              actionParam=post
                              icon="check"
                              class="btn-primary"
                              label="akismet.confirm_spam"
                              disabled=performingAction}}

                {{d-button action="allowPost"
                              actionParam=post
                              icon="thumbs-o-up"
                              label="akismet.not_spam"
{'fraction_non_alphanumeric': 0.1747843734145104, 'fraction_numerical': 0.0060882800608828, 'mean_word_length': 1.7924929178470255, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, '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': '3315063', 'n_tokens_mistral': 1262, 'n_tokens_neox': 1176, 'n_words': 179}