templates/show_msg.html
changeset 173 b8e7a4e86b35
parent 111 c272d4c601cd
--- a/templates/show_msg.html	Tue Mar 02 04:23:21 2010 +0530
+++ b/templates/show_msg.html	Tue Mar 02 14:04:03 2010 +0530
@@ -1,11 +1,27 @@
 {% extends 'base.html' %}
+{% block js_script %}
+    <script language="JavaScript"> 
+    <!--
+     function getgoing()
+        {
+            window.location="{{redirect_url}}";
+        }
+     
+    setTimeout('getgoing()',5000);
+    //--> 
+    </script>
+{% endblock %}
 {% block content %}
+
     {% if message %}
         {{message}}<br />
     {% endif %}
+    You will be redirected to {{url_desc}} page in 5 seconds
+    <!--
     {% if redirect_url %}
         <a href="{{redirect_url}}">click here</a> to return to {{url_desc}}
     {% else %}
         <a href="/">click here</a> to return to Homepage
     {% endif %}
+    -->
 {% endblock %}