Corrected and added registration and activation templates.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Mon, 12 Oct 2009 19:33:02 +0530
changeset 27 87910f9bd6ec
parent 26 207e95f41820
child 28 2d5e8882b516
Corrected and added registration and activation templates.
template/registration/activate.html
template/registration/activation_email.txt
template/registration/activation_email_subject.txt
template/registration/registration_complete.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/template/registration/activate.html	Mon Oct 12 19:33:02 2009 +0530
@@ -0,0 +1,30 @@
+{% extends "index.html" %}
+
+{% load i18n %}
+
+{% block centercontent %}
+  <div class="post">
+    <div class="title"><h2>{% trans "Register" %}</h2></div>
+    <div id="search">
+    <style type="text/css">
+    ul.errorlist {
+        margin: 0;
+        padding: 0;
+    }
+    .errorlist li {        
+        color: red;
+        display: block;
+        font-size: 10px;
+        margin: 0 1 3px;
+        padding: 0px 45px;
+    }
+</style>
+        <table>
+          Your account has been activated and registration procedure is complete.
+          You can login to your account now.
+        </table>
+      <script type="text/javascript">
+	document.getElementById('id_username').focus();
+      </script>
+   </div>
+{% endblock %}
--- a/template/registration/activation_email.txt	Mon Oct 12 17:19:10 2009 +0530
+++ b/template/registration/activation_email.txt	Mon Oct 12 19:33:02 2009 +0530
@@ -1,2 +1,15 @@
-You have been registered for Scipy.in conference. You will be informed when
-we have more information for you.
\ No newline at end of file
+Hello everyone,
+
+   It looks like you have registered for SciPy.in with this email address.
+To confirm your registration please activate your account by clicking on the
+link below. 
+
+  <a href="http://scipy.in/accounts/activate/{{ activation_key }}"></a>
+
+If your browser doesn't support clicking on the link, please copy
+paste the URL in your browser's address bar.
+
+
+--
+ Thanks for registering,
+ SciPy team
\ No newline at end of file
--- a/template/registration/activation_email_subject.txt	Mon Oct 12 17:19:10 2009 +0530
+++ b/template/registration/activation_email_subject.txt	Mon Oct 12 19:33:02 2009 +0530
@@ -1,1 +1,1 @@
-Your account has been activated.
\ No newline at end of file
+[SciPy.in] Account activation mail
\ No newline at end of file
--- a/template/registration/registration_complete.html	Mon Oct 12 17:19:10 2009 +0530
+++ b/template/registration/registration_complete.html	Mon Oct 12 19:33:02 2009 +0530
@@ -20,7 +20,9 @@
     }
 </style>
         <table>
-          Your registration procedure is complete.
+          Your account has been created. An activation email will be sent
+          soon to the email ID with which you registered. Please visit the link
+          mentioned in the mail to activate your account 
         </table>
       <script type="text/javascript">
 	document.getElementById('id_username').focus();