diff options
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/complete.html | 8 |
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 %} |