summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authorPrabhu Ramachandran2017-01-25 00:51:08 +0530
committerGitHub2017-01-25 00:51:08 +0530
commit6db62cad24e0b7cd9c1a5f354566cc0e9186d1cd (patch)
treef74cf8399e7f5021ff16a5eafc7bcd2c3c5f1c59 /yaksh/templates
parentbfc97a55dddb4e1c3b6c49cc0a0f963e9b8a744c (diff)
parent2670ef89672777bcfda9e8e97e8a976d53dd1a1f (diff)
downloadonline_test-6db62cad24e0b7cd9c1a5f354566cc0e9186d1cd.tar.gz
online_test-6db62cad24e0b7cd9c1a5f354566cc0e9186d1cd.tar.bz2
online_test-6db62cad24e0b7cd9c1a5f354566cc0e9186d1cd.zip
Merge pull request #185 from ankitjavalkar/course-prerequisite
Add course instructions
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/quizzes_user.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/yaksh/templates/yaksh/quizzes_user.html b/yaksh/templates/yaksh/quizzes_user.html
index 524d76f..63f22a1 100644
--- a/yaksh/templates/yaksh/quizzes_user.html
+++ b/yaksh/templates/yaksh/quizzes_user.html
@@ -60,6 +60,23 @@
</table>
{% endif %}
</div>
+
+ {% if course.instructions %}
+ <div class="row">
+ <div class="panel-group">
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <h4 class="panel-title">
+ <a data-toggle="collapse" href="#collapse{{ forloop.counter }}">Course Instructions</a>
+ </h4>
+ </div>
+ <div id="collapse{{ forloop.counter }}" class="panel-collapse collapse">
+ <div class="panel-body"> {{ course.instructions|safe }}</div>
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endif %}
</div>
</div><!--/row-->
</br>