<commit_before><?php $this->assign('title', $pad->name . " ({$notes->count()})"); ?>
<?php if ($notes->count()): ?>
    <table class="notes">
        <tr>
          <th class="note">Note <?= $this->Html->link('↑', ['_name' => 'index', 'order' => '-name'], ['class' => 'sort_arrow']) ?><?= $this->Html->link('↓', ['_name' => 'index', 'order' => 'name'], ['class' => 'sort_arrow']) ?></th>
          <th class="date">Last modified <?= $this->Html->link('↑', ['_name' => 'index', 'order' => '-updated_at'], ['class' => 'sort_arrow']) ?><?= $this->Html->link('↓', ['_name' => 'index', 'order' => 'updated_at'], ['class' => 'sort_arrow']) ?></th>
        </tr>
        <?php foreach($notes as $note): ?>
            <tr>
              <td><?= $this->Html->link($note->name, ['id' => $note->id, '_name' => 'view_note']) ?></td>
              <td class="hidden-text date"><?= $note->getPrettyDate(); ?></td>
            </tr>
        <?php endforeach; ?><commit_msg>Cakephp: Fixed pad view (sorting)<commit_after><?php $this->assign('title', $pad->name . " ({$notes->count()})"); ?>
<?php if ($notes->count()): ?>
    <table class="notes">
        <tr>
          <th class="note">Note <?= $this->Html->link('↑', ['_name' => 'view_pad', 'order' => '-name', 'id' => $pad->id], ['class' => 'sort_arrow']) ?><?= $this->Html->link('↓', ['_name' => 'view_pad', 'order' => 'name', 'id' => $pad->id], ['class' => 'sort_arrow']) ?></th>
          <th class="date">Last modified <?= $this->Html->link('↑', ['_name' => 'view_pad', 'order' => '-updated_at', 'id' => $pad->id], ['class' => 'sort_arrow']) ?><?= $this->Html->link('↓', ['_name' => 'view_pad', 'order' => 'updated_at', 'id' => $pad->id], ['class' => 'sort_arrow']) ?></th>
        </tr>
        <?php foreach($notes as $note): ?>
            <tr>
              <td><?= $this->Html->link($note->name, ['id' => $note->id, '_name' => 'view_note']) ?></td>
              <td class="hidden-text date"><?= $note->getPrettyDate(); ?></td>
            </tr>
        <?php endforeach; ?>
{'fraction_non_alphanumeric': 0.3209693372898121, 'fraction_numerical': 0.0, 'mean_word_length': 3.3134328358208953, 'pattern_counts': {'":': 0, '<': 49, '<?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': '1357311', 'n_tokens_mistral': 700, 'n_tokens_neox': 721, 'n_words': 144}