summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authormaheshgudi2016-08-29 13:53:41 +0530
committermaheshgudi2016-08-29 14:07:07 +0530
commit5d49a64d11d6a6868c74bf9a22bb7cc0fa7b8c6b (patch)
tree8e87569b4719d928cf711b1ff11a6cd6573a4fbd /yaksh/templates
parent80e3a68ddfcc15fc88442d7af53d804653c4d2a4 (diff)
downloadonline_test-5d49a64d11d6a6868c74bf9a22bb7cc0fa7b8c6b.tar.gz
online_test-5d49a64d11d6a6868c74bf9a22bb7cc0fa7b8c6b.tar.bz2
online_test-5d49a64d11d6a6868c74bf9a22bb7cc0fa7b8c6b.zip
changed template; modified search_teacher, add_teacher and remove_teachers view functions
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/courses.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/courses.html b/yaksh/templates/yaksh/courses.html
index 5e2266c..42f49d1 100644
--- a/yaksh/templates/yaksh/courses.html
+++ b/yaksh/templates/yaksh/courses.html
@@ -141,9 +141,11 @@
</div>
<br><br>
{% endfor %}
+{% else %}
+ <center><h4> No new Courses allotted </h4></center>
{% endif %}
+<button class="btn primary" type="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/add_course");'>Add New Course</button>
{% if courses or allotted_courses %}
- <button class="btn primary" type="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/add_course");'>Add New Course</button>
<button class="btn primary" type="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/addquiz");'>Add New Quiz</button>
{% endif %}
{% endblock %}