Skip to content

Commit

Permalink
[#884 #905] Styling on registration complate page fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
KasperBrandt committed Nov 10, 2014
1 parent 8cb51c6 commit 8c428e4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions akvo/templates/registration/activate.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
{% endblock title %}

{% block maincontent %}
<div class="container">
<div class="row">
{% if user.username %}
<h1>{% trans 'Welcome to Akvo RSR!' %}</h1>
<h2><small>{% trans 'Your account has been activated, please visit the MyRSR page.' %}</small></h2>
Expand All @@ -19,4 +21,6 @@ <h1>{% trans "We're sorry, the account activation failed" %}</h1>
<h2><small>{% blocktrans with expiration_days as exp_days %}Either your activation link was incorrect, or the activation key for your account has expired. Activation keys are only valid for {{ exp_days }} days after registration.{% endblocktrans %}</small></h2>
<h2><small>{% trans "Please <a href='mailto:[email protected]'>contact us</a> if you have any questions." %}</small></h2>
{% endif %}
</div>
</div>
{% endblock %}
12 changes: 7 additions & 5 deletions akvo/templates/registration/register_complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
{% block title %}{% trans 'Registration complete' %}{% endblock %}

{% block maincontent %}
<div class="col-md-6 col-md-offset-3">
<h1>Welcome, {{ new_user.first_name }}!</h1>
<p>
{% trans 'A confirmation will be sent to you via email. Please click the link in the email to complete the setup of your account.' %}
</p>
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-2">
<h1>Welcome, {{ new_user.first_name }}!</h1>
<h2><small>{% trans 'A confirmation will be sent to you via email. Please click the link in the email to complete the setup of your account.' %}</small></h2>
</div>
</div>
</div>
{% endblock %}

0 comments on commit 8c428e4

Please sign in to comment.