pytask/templates/show_msg.html
changeset 14 f2623fb8041a
parent 13 4da58abdf6ff
--- a/pytask/templates/show_msg.html	Sat Jan 30 13:10:11 2010 +0530
+++ b/pytask/templates/show_msg.html	Mon Feb 01 11:10:29 2010 +0530
@@ -1,7 +1,11 @@
 {% extends 'base.html' %}
 {% block content %}
     {% if message %}
-    {{message}}<br />
-    <a href="/">click here</a> to return to Homepage
+        {{message}}<br />
+    {% endif %}
+    {% 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 %}