summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authorankitjavalkar2018-03-06 12:05:43 +0530
committerankitjavalkar2018-03-06 12:05:43 +0530
commit73d6da4bca9b604a3fe68b8ce843791c948ae285 (patch)
treee26e28da9869c80172863045d0451344e6a65c88 /yaksh
parent9d689c2478d4f7f6f95f1e647dced17dd93e299c (diff)
downloadonline_test-73d6da4bca9b604a3fe68b8ce843791c948ae285.tar.gz
online_test-73d6da4bca9b604a3fe68b8ce843791c948ae285.tar.bz2
online_test-73d6da4bca9b604a3fe68b8ce843791c948ae285.zip
Add view button to preview the questionpaper
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/templates/yaksh/courses.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/yaksh/templates/yaksh/courses.html b/yaksh/templates/yaksh/courses.html
index bc96bf5..c20f5df 100644
--- a/yaksh/templates/yaksh/courses.html
+++ b/yaksh/templates/yaksh/courses.html
@@ -358,6 +358,9 @@
{% if quiz.questionpaper_set.get %}
<a href="{{URL_ROOT}}/exam/manage/designquestionpaper/{{ quiz.id }}/{{quiz.questionpaper_set.get.id}}/">
Question Paper for {{ quiz.description }}</a>
+ <a href="{{URL_ROOT}}/exam/manage/preview_questionpaper/{{quiz.questionpaper_set.get.id}}" class="btn btn-primary active btn-xs" target="_blank">
+ View
+ </a>
<br>
{% else %}
<p>No Question Paper