<commit_before>{% extends "base.html" %}
{% load i18n %}

{% block title %}Verification{% endblock %}

{% block js %}
<script src="/static/js/staff_verification.js"></script>
{% endblock %}
{% block content %}
{% load choicesToString %}
{% load imageurl %}
{% if verification.status != 2 or verification.verified_by == user %}
<div class="row">
  <div class="col-md-7 text-center">
    <iframe style="width: 100%; height: 800px" src="/user/{{ verification.account.owner.username }}/?hidenavbar&staff#{{ verification.account.id }}"></iframe>
  </div>
  <div class="col-md-5">
    <div style="height: 800px; overflow: auto;">
      <div class="jumbotron margin50 text-center">
	<p class="padding50 verified{{ verification.verification }}">
	  <i class="flaticon-star"></i>
	  {{ verification.verification|verifiedToString }}
	</p>
	<p class="alert-{% if verification.status == 0 %}danger{% elif verification.status == 3 %}success{% else %}info{% endif %} padding50">{{ verification.status|verificationStatusToString }}</p>
	<p class="padding50">
	  {{ verification.comment }}
      </p></div>
      {% if verification.status == 1 %}
      <h1>Step 1. Set the verification as "In Progress"</h1>
      <form action="/ajax/staff/verification/{{ verification.id }}/inprogress/" class="text-right padding20 padding-novertical" id="staffverification">
	<input type="submit" class="btn btn-xl btn-Cool" value="START" />
      </form>
      <form action="/ajax/staff/verification/{{ verification.id }}/cancel/" class="text-right padding20 padding-novertical" id="staffcancelverification" style="display: none;">
	<input type="submit" class="btn btn-danger" value="Cancel" />
      </form>
      <div id="steps" class="collapse">
	<h1>Step 2. Verify the account</h1>
	{% endif %}
	{% if verification_images %}
	{% if verification.status == 1 %}
	<ul>
	  {% if verification.verification == 2 %}
	  <li>After you enter the transfer code in your testing device, <strong>delete the image here</strong> to avoid confusions.</li><commit_msg>Show users' emails in case they asked to be notified<commit_after>{% extends "base.html" %}
{% load i18n %}

{% block title %}Verification{% endblock %}

{% block js %}
<script src="/static/js/staff_verification.js"></script>
{% endblock %}
{% block content %}
{% load choicesToString %}
{% load imageurl %}
{% if verification.status != 2 or verification.verified_by == user %}
<div class="row">
  <div class="col-md-7 text-center">
    <iframe style="width: 100%; height: 800px" src="/user/{{ verification.account.owner.username }}/?hidenavbar&staff#{{ verification.account.id }}"></iframe>
  </div>
  <div class="col-md-5">
    <div style="height: 800px; overflow: auto;">
      <div class="jumbotron margin50 text-center">
	<p class="padding50 verified{{ verification.verification }}">
	  <i class="flaticon-star"></i>
	  {{ verification.verification|verifiedToString }}
	</p>
	<p class="alert-{% if verification.status == 0 %}danger{% elif verification.status == 3 %}success{% else %}info{% endif %} padding50">{{ verification.status|verificationStatusToString }}</p>
	<p class="padding50">
	  {{ verification.comment }}
	</p>
	<p><small><i>{{ verification.account.owner.email }}</i></small></p>
      </div>
      {% if verification.status == 1 %}
      <h1>Step 1. Set the verification as "In Progress"</h1>
      <form action="/ajax/staff/verification/{{ verification.id }}/inprogress/" class="text-right padding20 padding-novertical" id="staffverification">
	<input type="submit" class="btn btn-xl btn-Cool" value="START" />
      </form>
      <form action="/ajax/staff/verification/{{ verification.id }}/cancel/" class="text-right padding20 padding-novertical" id="staffcancelverification" style="display: none;">
	<input type="submit" class="btn btn-danger" value="Cancel" />
      </form>
      <div id="steps" class="collapse">
	<h1>Step 2. Verify the account</h1>
	{% endif %}
	{% if verification_images %}
	{% if verification.status == 1 %}
	<ul>
	  {% if verification.verification == 2 %}
	  <li>After you enter the transfer code in your testing device, <strong>delete the image here</strong> to avoid confusions.</li>
{'fraction_non_alphanumeric': 0.18253968253968253, 'fraction_numerical': 0.017797017797017797, 'mean_word_length': 4.501322751322752, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '2122865', 'n_tokens_mistral': 1407, 'n_tokens_neox': 1252, 'n_words': 328}