<commit_before><%inherit file="pulpy:templates/note/base.mako"/>

%if paginator.items:
  <div class='tablelist'>
    <table id='notes'>
      <thead>
        <th>Title</th>
      </thead>
      <tbody>
        %for item in paginator.items:
          <tr>
            <td>${item.title}</td>
            <td class='actions'>
              <a href="${request.route_url('note_edit', id=item.id)}">
                <img src='${request.static_url("pulpy:static/icons/page_white_edit.png")}' title='Edit' alt='Edit' />
              </a>
            </td>
          </tr>
        %endfor
      </tbody>
    </table>
  </div>
  <div class='pager'>
    ${paginator.pager()}
  </div>
%else:
  <p>No notes found.</p>
%endif
<commit_msg>comments #9 - more information in note list<commit_after><%inherit file="pulpy:templates/note/base.mako"/>

%if paginator.items:
  <div class='tablelist'>
    <table id='notes'>
      <thead>
        <th>Title</th>
        <th>Created</th>
        <th>Revisions</th>
        <th>Actions</th>
      </thead>
      <tbody>
        %for item in paginator.items:
          <tr>
            <td>${item.title}</td>
            <td>${item.created.strftime('%Y-%m-%d %M:%S')}</td>
            <td>${len(item.revisions)}</td>
            <td class='actions'>
              <a href="${request.route_url('note_edit', id=item.id)}">
                <img src='${request.static_url("pulpy:static/icons/page_white_edit.png")}' title='Edit' alt='Edit' />
              </a>
            </td>
          </tr>
        %endfor
      </tbody>
    </table>
  </div>
  <div class='pager'>
    ${paginator.pager()}
  </div>
%else:
  <p>No notes found.</p>
%endif

{'fraction_non_alphanumeric': 0.1981981981981982, 'fraction_numerical': 0.0006006006006006006, 'mean_word_length': 1.9910233393177739, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, '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': '5754031', 'n_tokens_mistral': 584, 'n_tokens_neox': 582, 'n_words': 98}