<commit_before>{# vim: set ts=2 et sts=2 sw=2: #}
{% extends "wiki/base.html" %}
{% set title = _('Revert Revision | {document}')|f(document=document.title) %}
{% block title %}{{ page_title(title) }}{% endblock %}
{% block bodyclass %}revert-document{% endblock %}

{% block content %}

      <article id="delete-revision">
      
        <h1>{{ _('Are you sure you want to revert to this revision?') }}</h1>

        <label><strong>{{ _('Document') }}</strong></label>
        <div>{{ document.title }}</div>

        <label><strong>{{ _('Creator') }}</strong></label>
        <div><a href="{{ url('devmo.views.profile_view', username=revision.creator) }}">{{ revision.creator }}</a></div>
        <label><strong>{{ _('Date') }}</strong></label>
        <div>{{ datetimeformat(revision.created, format='longdatetime') }}</div>
        <label><strong>{{ _('Content') }}</strong></label>
        <pre class="brush: html">{{ revision.content }}</pre>
        <label><strong>{{ _('Tags') }}</strong></label>
        <div>{{ revision.tags }}</div>
        <form action="" method="post">
          {{ csrf() }}

          <label><strong>{{ _('Comment') }}</strong></label>
          {{ _('Why are you reverting to this revision?') }}
          <textarea name="comment"></textarea>
          <p>
            {{ _('You are about to revert the document to this revision.  Click "submit" to revert to the content&nbsp;above.')|safe }}
          </p>
          <div class="submit">
            <input type="submit" value="{{ _('Revert') }}" />
            <a href="{{ url('wiki.document_revisions', document.slug) }}">{{ _('Cancel') }}</a>
          </div>
        </form>
      </article>
    
{% endblock %}<commit_msg>Fix bug 857643 - Update text on page revert confirmation page.<commit_after>{# vim: set ts=2 et sts=2 sw=2: #}
{% extends "wiki/base.html" %}
{% set title = _('Revert Revision | {document}')|f(document=document.title) %}
{% block title %}{{ page_title(title) }}{% endblock %}
{% block bodyclass %}revert-document{% endblock %}

{% block content %}

      <article id="delete-revision">
      
        <h1>{{ _('Are you sure you want to revert to this revision?') }}</h1>

        <label><strong>{{ _('Document') }}</strong></label>
        <div>{{ document.title }}</div>

        <label><strong>{{ _('Creator') }}</strong></label>
        <div><a href="{{ url('devmo.views.profile_view', username=revision.creator) }}">{{ revision.creator }}</a></div>
        <label><strong>{{ _('Date') }}</strong></label>
        <div>{{ datetimeformat(revision.created, format='longdatetime') }}</div>
        <label><strong>{{ _('Content') }}</strong></label>
        <pre class="brush: html">{{ revision.content }}</pre>
        <label><strong>{{ _('Tags') }}</strong></label>
        <div>{{ revision.tags }}</div>
        <form action="" method="post">
          {{ csrf() }}

          <label><strong>{{ _('Comment') }}</strong></label>
          {{ _('Why are you reverting to this revision?') }}
          <textarea name="comment"></textarea>
          <p>
            {{ _('You are about to revert the document to this revision.  Click "revert" to revert to the content&nbsp;above.')|safe }}
          </p>
          <div class="submit">
            <input type="submit" value="{{ _('Revert') }}" />
            <a href="{{ url('wiki.document_revisions', document.slug) }}">{{ _('Cancel') }}</a>
          </div>
        </form>
      </article>
    
{% endblock %}
{'fraction_non_alphanumeric': 0.22286207889432766, 'fraction_numerical': 0.004606968039159228, 'mean_word_length': 2.855715871254162, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, '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': '2976116', 'n_tokens_mistral': 1123, 'n_tokens_neox': 1047, 'n_words': 259}