summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authormaheshgudi2016-08-09 11:32:19 +0530
committermaheshgudi2016-08-29 14:03:05 +0530
commit29c50ad458de008b0672d0f2b1c64278a963850c (patch)
treebb48f88d899fed7fd1547842eb9b3067f0ce3be3 /yaksh/templates
parentb259e65bbadc62a9368238e778af5c205b32f5f6 (diff)
downloadonline_test-29c50ad458de008b0672d0f2b1c64278a963850c.tar.gz
online_test-29c50ad458de008b0672d0f2b1c64278a963850c.tar.bz2
online_test-29c50ad458de008b0672d0f2b1c64278a963850c.zip
changed search_teacher function to exclude course creator
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/addteacher.html11
-rw-r--r--yaksh/templates/yaksh/courses.html4
2 files changed, 3 insertions, 12 deletions
diff --git a/yaksh/templates/yaksh/addteacher.html b/yaksh/templates/yaksh/addteacher.html
index 2ab107b..6722a52 100644
--- a/yaksh/templates/yaksh/addteacher.html
+++ b/yaksh/templates/yaksh/addteacher.html
@@ -19,12 +19,6 @@
</div>
<br><br>
-{% if message %}
-<div class="alert alert-danger">
- <strong>Sorry!</strong> {{message}}
-</div>
-{% endif %}
-
<form action="{{ URL_ROOT }}/exam/manage/addteacher/{{ course.id }}/" method="post">
{% csrf_token %}
{% if success == True %}
@@ -63,10 +57,7 @@
</form>
{% if status == True %}
<div class="row">
- <div class="span6 offset4 wrap">
- <div class="alert alert-success">
- <strong>Congrats!</strong> Following Teachers have been added:
-</div>
+ <div class="span6 offset4 wrap">
{% if teachers_added %}
{% for teacher in teachers_added %}
<div class="well">
diff --git a/yaksh/templates/yaksh/courses.html b/yaksh/templates/yaksh/courses.html
index 1c68472..5e2266c 100644
--- a/yaksh/templates/yaksh/courses.html
+++ b/yaksh/templates/yaksh/courses.html
@@ -11,9 +11,9 @@
{% block manage %}
{% if not courses %}
- <center><h4> No new Courses added </h4></center>
+ <center><h4> No new Courses created </h4></center>
{% else %}
-<center><h3> Course(s) Added</h3></center>
+<center><h3> Course(s) Created</h3></center>
{% for course in courses %}
<div class="row show-grid">
<div class="span14">