templates/show_msg.html
author anoop
Mon, 08 Mar 2010 13:37:26 +0530
changeset 207 2de52334fe6c
parent 173 b8e7a4e86b35
permissions -rw-r--r--
changed the MEDIA_URL in settings.py.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20
ec7b1751c161 renamed templates/error.html to templates/show_msg.html and made changes accordingly in views/user.
nishanth
parents:
diff changeset
     1
{% extends 'base.html' %}
173
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
     2
{% block js_script %}
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
     3
    <script language="JavaScript"> 
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
     4
    <!--
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
     5
     function getgoing()
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
     6
        {
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
     7
            window.location="{{redirect_url}}";
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
     8
        }
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
     9
     
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
    10
    setTimeout('getgoing()',5000);
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
    11
    //--> 
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
    12
    </script>
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
    13
{% endblock %}
20
ec7b1751c161 renamed templates/error.html to templates/show_msg.html and made changes accordingly in views/user.
nishanth
parents:
diff changeset
    14
{% block content %}
173
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
    15
20
ec7b1751c161 renamed templates/error.html to templates/show_msg.html and made changes accordingly in views/user.
nishanth
parents:
diff changeset
    16
    {% if message %}
21
c28774fe7ffd implemented "add another mentor" functionality to a task.
nishanth
parents: 20
diff changeset
    17
        {{message}}<br />
c28774fe7ffd implemented "add another mentor" functionality to a task.
nishanth
parents: 20
diff changeset
    18
    {% endif %}
173
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
    19
    You will be redirected to {{url_desc}} page in 5 seconds
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
    20
    <!--
21
c28774fe7ffd implemented "add another mentor" functionality to a task.
nishanth
parents: 20
diff changeset
    21
    {% if redirect_url %}
111
c272d4c601cd added the functionality to publish a task.
nishanth
parents: 21
diff changeset
    22
        <a href="{{redirect_url}}">click here</a> to return to {{url_desc}}
21
c28774fe7ffd implemented "add another mentor" functionality to a task.
nishanth
parents: 20
diff changeset
    23
    {% else %}
c28774fe7ffd implemented "add another mentor" functionality to a task.
nishanth
parents: 20
diff changeset
    24
        <a href="/">click here</a> to return to Homepage
20
ec7b1751c161 renamed templates/error.html to templates/show_msg.html and made changes accordingly in views/user.
nishanth
parents:
diff changeset
    25
    {% endif %}
173
b8e7a4e86b35 changed show_msg page to redirect instead of showing a link
nishanth
parents: 111
diff changeset
    26
    -->
20
ec7b1751c161 renamed templates/error.html to templates/show_msg.html and made changes accordingly in views/user.
nishanth
parents:
diff changeset
    27
{% endblock %}