summaryrefslogtreecommitdiff
path: root/templates/show_msg.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_msg.html')
-rw-r--r--templates/show_msg.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/show_msg.html b/templates/show_msg.html
index 1b5719a..68bed9a 100644
--- a/templates/show_msg.html
+++ b/templates/show_msg.html
@@ -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 %}