summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/templates/yaksh/courses.html5
-rw-r--r--yaksh/templates/yaksh/showquestions.html2
2 files changed, 5 insertions, 2 deletions
diff --git a/yaksh/templates/yaksh/courses.html b/yaksh/templates/yaksh/courses.html
index 06c848c..910a68d 100644
--- a/yaksh/templates/yaksh/courses.html
+++ b/yaksh/templates/yaksh/courses.html
@@ -15,9 +15,12 @@
{% else %}
<center><h3> Course(s) Added</h3></center>
{% for course in courses %}
- {% if user != course.creator %}
+ {% if user != course.creator and course.name != "Demo_course"%}
<h4> {{course.creator.get_full_name}} added you to this course</h4>
{% endif %}
+ {% if course.name == "Demo_course" %}
+ <h4> This is Demo Course </h4>
+ {% endif %}
<div class="row show-grid">
<div class="span14">
<div class="row">
diff --git a/yaksh/templates/yaksh/showquestions.html b/yaksh/templates/yaksh/showquestions.html
index 2f4d218..185cbfb 100644
--- a/yaksh/templates/yaksh/showquestions.html
+++ b/yaksh/templates/yaksh/showquestions.html
@@ -11,7 +11,7 @@
{% block manage %}
-<h4>Upload json file for adding questions</h4>
+<h4>Upload ZIP file for adding questions</h4>
<form action="" method="post" enctype="multipart/form-data">
{% csrf_token %}
{{ upload_form.as_p }}