diff options
author | adityacp | 2018-02-08 11:48:34 +0530 |
---|---|---|
committer | adityacp | 2018-02-08 11:48:34 +0530 |
commit | e1f4ffc3ab43d02115e6c496bf08bea1e52af2ef (patch) | |
tree | b6586cc46fbf38c36850238ba359561dca77cc4e /yaksh/templates/404.html | |
parent | 440c18f4e0565e0824d432b01bc2be7b8847e122 (diff) | |
download | online_test-e1f4ffc3ab43d02115e6c496bf08bea1e52af2ef.tar.gz online_test-e1f4ffc3ab43d02115e6c496bf08bea1e52af2ef.tar.bz2 online_test-e1f4ffc3ab43d02115e6c496bf08bea1e52af2ef.zip |
Change in templates
- Show error messages properly in 404.html
- Show Lesson and LearningModule active/deactive status in courses.html
- Disable home button for student
- Add proper redirections and form submissions to edit/view question paper
Diffstat (limited to 'yaksh/templates/404.html')
-rw-r--r-- | yaksh/templates/404.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/yaksh/templates/404.html b/yaksh/templates/404.html index e9d99de..d4777f2 100644 --- a/yaksh/templates/404.html +++ b/yaksh/templates/404.html @@ -1,7 +1,13 @@ {% extends "base.html" %} +{% block pagetitle %} <h2>Yaksh</h2> {% endblock %} + {% block content %} +<center> It seems that you have encountered an error -Type of Error - {{ exception }} +<br> Please contact your administrator +<br><br> +<div class="alert alert-danger">Error Message:- {{exception}}</div> +</center> {% endblock %} |