summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authoradityacp2016-04-26 19:04:17 +0530
committeradityacp2016-04-26 19:04:17 +0530
commiteef2bff4f2b0c66694b2f807849c2d97ba6246a9 (patch)
tree462863dfff51580200b5994927e7e0a155f7eaa8 /yaksh/templates
parent5d92e6fac7901c9829a759aec539e603dfb66038 (diff)
downloadonline_test-eef2bff4f2b0c66694b2f807849c2d97ba6246a9.tar.gz
online_test-eef2bff4f2b0c66694b2f807849c2d97ba6246a9.tar.bz2
online_test-eef2bff4f2b0c66694b2f807849c2d97ba6246a9.zip
further rebase changes
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/addteacher.html2
-rw-r--r--yaksh/templates/yaksh/course_detail.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/addteacher.html b/yaksh/templates/yaksh/addteacher.html
index 0ebbbbd..39535bc 100644
--- a/yaksh/templates/yaksh/addteacher.html
+++ b/yaksh/templates/yaksh/addteacher.html
@@ -21,7 +21,7 @@
<form action="{{ URL_ROOT }}/exam/manage/addteacher/{{ course.id }}/" method="post">
{% csrf_token %}
{% if success == True %}
- {% if teachers|length == 1 or teachers|length == 0%}
+ {% if teachers|length == 1 or teachers|length == 0 %}
<center><h3>No results found</h3></center>
{% else %}
<center><b><u>Search Results</u></b></center><br>
diff --git a/yaksh/templates/yaksh/course_detail.html b/yaksh/templates/yaksh/course_detail.html
index 44fab21..ccb3a10 100644
--- a/yaksh/templates/yaksh/course_detail.html
+++ b/yaksh/templates/yaksh/course_detail.html
@@ -2,7 +2,7 @@
{% block title %} Course {% endblock title %}
-{% block subtitle %} {{ course.name }} {% endblock %}
+{% block subtitle %} {% for course in courses %}{{ course.name }}{% endfor %} {% endblock %}
{% block css %}
<link rel="stylesheet" media="all" type="text/css" href="{{ URL_ROOT }}/static/yaksh/css/course.css" />