Skip to content

Commit

Permalink
Forgotten wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
paltman committed Oct 25, 2018
1 parent a4a4f0a commit c4e2905
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
{% block head_title %}{% trans "Confirm your email address" %}{% endblock %}

{% block body %}
<div class="confirm-email">
<h2>{% trans "Confirm your email address" %}</h2>

<p>{% blocktrans %}We have sent you an email to <strong>{{ email }}</strong> for verification. Follow the link provided to finalize the signup process. If you do not receive it within a few minutes, contact us at <a href="mailto:{{ THEME_CONTACT_EMAIL }}">{{ THEME_CONTACT_EMAIL }}</a>.{% endblocktrans %}</p>
<p><a href="{{ success_url }}">{% trans "Go back" %}</a></p>
</div>
{% endblock %}
2 changes: 2 additions & 0 deletions pinax/templates/templates/account/email_confirmed.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
{% block head_title %}{% trans "Email confirmed" %}{% endblock %}

{% block body %}
<div class="email-confirmed">
<h1>{% trans "Email confirmed" %}</h1>
<p>{% blocktrans with email=confirmation.email_address.email %}You have confirmed <strong>{{ email }}</strong>{% endblocktrans %}</p>
</div>
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
{% block head_title %}{% trans "Bad token" %}{% endblock %}

{% block body %}
<div class="bad-token">
<h1>{% trans "Bad token" %}</h1>
{% url "account_password_reset" as url %}
<p>{% blocktrans %}The password reset link was invalid, possibly because it has already been used. Please request a <a href="{{ url }}">new password reset</a>.{% endblocktrans %}</p>
</div>
{% endblock %}
2 changes: 2 additions & 0 deletions pinax/templates/templates/account/signup_closed.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
{% block head_title %}{% trans "Sign up" %}{% endblock %}

{% block body %}
<div class="signup-closed">
<h1>{% trans "This site is in private beta" %}</h1>
<p>{% blocktrans %}If you have signup code you can enter it below.{% endblocktrans %}</p>
<form method="get" action="">
<div><input type="text" name="code" placeholder="{% trans 'Your signup code...' %}" /></div>
<div><input type="submit" class="btn btn-primary"></div>
</form>
</div>
{% endblock %}

0 comments on commit c4e2905

Please sign in to comment.