Added activation complete template.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Mon, 12 Oct 2009 20:01:12 +0530
changeset 29 4df0f5739386
parent 28 2d5e8882b516
child 30 377d71ef7201
Added activation complete template.
template/registration/activate.html
template/registration/activation_complete.html
--- a/template/registration/activate.html	Mon Oct 12 19:42:59 2009 +0530
+++ b/template/registration/activate.html	Mon Oct 12 20:01:12 2009 +0530
@@ -20,8 +20,8 @@
     }
 </style>
         <table>
-          Your account has been activated and registration procedure is complete.
-          You can login to your account now.
+          Your activation failed because of either the invalid activation key
+          or because your activation key has expired.
         </table>
       <script type="text/javascript">
 	document.getElementById('id_username').focus();
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/template/registration/activation_complete.html	Mon Oct 12 20:01:12 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 %}