<commit_before>{% extends 'wiki/master.html' %}

{% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / {{title}}{% endblock %}

{% block header %}{{title}}{% endblock %}

{% block actions %}
  <a href="." class="btn ico-l"><b class="ui-icon ui-icon-search"></b> <span>View Page</span></a>
{% endblock %}

{% block wiki_content %}
<form method="get" action="diff">
  <input type="submit" value="Compare revisions"/>
  <br/> <br/>
  <table>
    <thead>
      <tr>
        <th>Version</th>
        <th>V1</th>
        <th>V2</th>
        <th>&nbsp;</th>
      </tr>
    </thead>
    <tbody>
      {% set i = 0 %}
      {% for p in pages %}
        <tr>
          <td>{{p.version}} by {{p.author.display_name}}</td>
          <td><input name="v1" type="radio" value="{{p.version}}"/></td>
          <td><input name="v2" type="radio" value="{{p.version}}"/></td>
          <td>
            <a href="./?version={{p.version}}" class="btn">View Revision</a>
            {% if i != 0 and has_artifact_access('edit', p)() %}
              <a href="./revert?version={{p.version}}" class="btn">Revert to version {{p.version}}</a>
            {% endif %}
          </td>
        </tr>
        {% set i = i+1 %}
      {% endfor %}
    </tbody>
  </table>
</form>
{% endblock %}<commit_msg>[#981] Added modified date info to wiki history page<commit_after>{% extends 'wiki/master.html' %}

{% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / {{title}}{% endblock %}

{% block header %}{{title}}{% endblock %}

{% block actions %}
  <a href="." class="btn ico-l"><b class="ui-icon ui-icon-search"></b> <span>View Page</span></a>
{% endblock %}

{% block wiki_content %}
<form method="get" action="diff">
  <input type="submit" value="Compare revisions"/>
  <br/> <br/>
  <table>
    <thead>
      <tr>
        <th>Version</th>
        <th>Date</th>
        <th>V1</th>
        <th>V2</th>
        <th>&nbsp;</th>
      </tr>
    </thead>
    <tbody>
      {% set i = 0 %}
      {% for p in pages %}
        <tr>
          <td>{{p.version}} by {{p.author.display_name}}</td>
          <td>{{h.ago(p.mod_date)}}</td>
          <td><input name="v1" type="radio" value="{{p.version}}"/></td>
          <td><input name="v2" type="radio" value="{{p.version}}"/></td>
          <td>
            <a href="./?version={{p.version}}" class="btn">View Revision</a>
            {% if i != 0 and has_artifact_access('edit', p)() %}
              <a href="./revert?version={{p.version}}" class="btn">Revert to version {{p.version}}</a>
            {% endif %}
          </td>
        </tr>
        {% set i = i+1 %}
      {% endfor %}
    </tbody>
  </table>
</form>
{% endblock %}
{'fraction_non_alphanumeric': 0.2412898443291327, 'fraction_numerical': 0.006300963676797628, 'mean_word_length': 2.3362175525339928, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 0, '>': 93, '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': '130696', 'n_tokens_mistral': 1020, 'n_tokens_neox': 944, 'n_words': 194}