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

{% block head_title %}{% trans "Account activation failed" %}{% endblock %}

{% block base_content %}{% url auth_login as auth_login_url %}
<div class="content-page generic container_12">
  <div class="grid_12 content-block">
    <h1><span>{% trans "Account activation failed" %}</span></h1>

    <h2>{% trans "Oops, something unexpected happened with your account activation" %}</h2>

    <p>{% trans "Often this is because of one of these reasons:" %}</p>
    <ul>
      <li>{% trans "You already activated your account with this link and you accidently clicked the activation link again" %}</li>
      <li>{% trans "Your email client mangled the link" %}</li>
      <li>{% trans  "There was a problem when copying and pasting the link" %}</li>
    </ul>

    <p>{% blocktrans %}First, try <a href="{{ auth_login_url }}">logging in</a> with your email address and password.{% endblocktrans %}</p>
    <p>{% trans "If that doesn't work, try copying and pasting the activation link from your email into a web browser." %}</p>
    <p>{% blocktrans %}Still stuck? Email us at <a href="mailto:{{ storybase_contact_email }}">{{storybase_contact_email}}</a> and we'll get you sorted out.{% endblocktrans %}</p>
  </div>
</div>
{% endblock %}
<commit_msg>Friendlier, shorter account activation failure message<commit_after>{% extends "base.html" %}
{% load i18n %}

{% block head_title %}{% trans "Account activation" %}{% endblock %}

{% block base_content %}{% url auth_login as auth_login_url %}
<div class="content-page generic container_12">
  <div class="grid_12 content-block">
    <h1><span>{% trans "Account activation" %}</span></h1>

    <h2>{% trans "Oops, something unexpected happened with your account activation" %}</h2>

    <p>{% trans "Try these steps to get started" %}:</p>

    <ul>
        <li>{% trans "Try logging in with your email address and password. You may have already activated your account." %}</li>
        <li>{% trans "Carefully copy and paste the activation link from the email into your browser instead of clicking on it." %}</li>
        <li>{% blocktrans %}Still stuck? Email us at <a href="mailto:{{ storybase_contact_email }}">{{storybase_contact_email}}</a> and we'll get you sorted out.{% endblocktrans %}</li>
     </ul>
  </div>
</div>
{% endblock %}

{'fraction_non_alphanumeric': 0.15829787234042553, 'fraction_numerical': 0.00851063829787234, 'mean_word_length': 4.189845474613686, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '2216187', 'n_tokens_mistral': 752, 'n_tokens_neox': 704, 'n_words': 275}