changeset 21 | c28774fe7ffd |
parent 20 | ec7b1751c161 |
child 111 | c272d4c601cd |
--- a/templates/show_msg.html Thu Feb 04 22:34:22 2010 +0530 +++ b/templates/show_msg.html Thu Feb 04 22:37:15 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 %}