diff options
author | adityacp | 2016-08-25 16:24:56 +0530 |
---|---|---|
committer | adityacp | 2016-08-25 16:24:56 +0530 |
commit | 074ca3fe68b790279c6ed8e0dda580b5ade8586e (patch) | |
tree | 2b49edb3bca5e9d0e88aeaa9c3dba3cdabae1e89 /yaksh | |
parent | 2a0909ef9d1107ec09a870947946cb336f0373c3 (diff) | |
download | online_test-074ca3fe68b790279c6ed8e0dda580b5ade8586e.tar.gz online_test-074ca3fe68b790279c6ed8e0dda580b5ade8586e.tar.bz2 online_test-074ca3fe68b790279c6ed8e0dda580b5ade8586e.zip |
changed templates to view demo quiz
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/templates/yaksh/courses.html | 5 | ||||
-rw-r--r-- | yaksh/templates/yaksh/showquestions.html | 2 |
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 }} |