From d2affe68e84da54dc99d9876ab359ad448aa6828 Mon Sep 17 00:00:00 2001 From: adityacp Date: Fri, 29 Apr 2016 14:40:50 +0530 Subject: changes for adding teachers --- yaksh/templates/yaksh/addteacher.html | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/addteacher.html b/yaksh/templates/yaksh/addteacher.html index 6bb5c9a..7e04f71 100644 --- a/yaksh/templates/yaksh/addteacher.html +++ b/yaksh/templates/yaksh/addteacher.html @@ -54,17 +54,17 @@ {% endif %} {% endif %} -{% if status == True and teachers_added or teachers_rejected %} -
-

Teacher(s) without profile are rejected

+{% if status == True %}
-
+
Teacher(s) Added

{% if teachers_added %} {% for teacher in teachers_added %}
-
{{ teacher.get_full_name }}
+
+
{{ teacher.get_full_name }}
+
{% endfor %} @@ -72,21 +72,6 @@
No Teacher(s) Added
{% endif %}
-
-
Teacher(s) Rejected

- {% if teachers_rejected %} - {% for teacher in teachers_rejected %} -
-
-
{{ teacher.get_full_name }}
-
-
- {% endfor %} - {% else %} -
No Teacher(s) Rejected
- {% endif %} -
-
{% endif %} {% endblock %} -- cgit