Commits

Anonymous committed b98cdfe

Updated templates to use {% url %}.

Comments (0)

Files changed (4)

registration/templates/activate.html

 {% block content %}
 {% if account %}
   <h1>Activation successful</h1>
-  <p>Congratulations, {{account.username}}. Your account has been created successfully.</p>
+  <p>Congratulations, {{ account.username }}. Your account has been created successfully.</p>
 {% else %}
   <h1>Activation failed :(</h1>
   <p>Sorry, there were problems with the activation. Please make sure that the activation link was opened correctly in your Browser. Please be also aware that activation links expire automatically.</p>

registration/templates/activation_email.txt

 Hi!
 In order to activate your account please visit the following link:
 
-http://{{site}}/account/activate/{{activation_key}}/
+http://{{ site }}{% url registration_activate activation_key=activation_key %}
 
 Thanks,
-Your {{site}} team
+Your {{ site }} team

registration/templates/activation_email_subject.txt

-Activation of your {{site}} account
+Activation of your {{ site }} account

registration/templates/password_reset_email.html

 Hi!
 In order to reset your password please visit the following link:
 
-{{protocol}}://{{domain}}/account/password/reset/confirm/{{uid}}/{{token}}/
+{{ protocol }}://{{ domain }}{% url auth_password_reset_confirm uidb36=uid,token=token %}
 
 Thanks,
-Your {{site_name}} team
+Your {{ site_name }} team