summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authoradityacp2017-11-20 10:33:05 +0530
committeradityacp2017-11-20 10:33:45 +0530
commite78f61f7b69871662c120daefdfc9d1562fdbe2a (patch)
tree97e3e5f9d094624675b09c8b1993439275b4f734 /yaksh/templates
parent9abf26990c7cf1dc349567d007955695835a0d3f (diff)
downloadonline_test-e78f61f7b69871662c120daefdfc9d1562fdbe2a.tar.gz
online_test-e78f61f7b69871662c120daefdfc9d1562fdbe2a.tar.bz2
online_test-e78f61f7b69871662c120daefdfc9d1562fdbe2a.zip
Change complete.html and change download quiz csv in views
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/complete.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/complete.html b/yaksh/templates/yaksh/complete.html
index 585129d..5c954da 100644
--- a/yaksh/templates/yaksh/complete.html
+++ b/yaksh/templates/yaksh/complete.html
@@ -31,13 +31,19 @@
{% endif %}
<center><h2> Good bye! </h2></center>
<center><h4> {{message}} </h4></center>
+ {% if not module_id %}
<br><center><h4>You may now close the browser.</h4></center><br>
- <center>
+ {% endif %}
+ <center>
<a href="{{URL_ROOT}}/exam/" id="home" class="btn btn-success"> Home </a>
+ </center>
+ {% if module_id %}
+ <center>
{% if first_unit %}
<a href="{{URL_ROOT}}/exam/next_unit/{{course_id}}/{{module_id}}/{{learning_unit.id}}/1" class="btn btn-info"> Next Unit </a>
{% else %}
<a href="{{URL_ROOT}}/exam/next_unit/{{course_id}}/{{module_id}}/{{learning_unit.id}}" class="btn btn-info"> Next Unit </a>
{% endif %}
</center>
+ {% endif %}
{% endblock content %}