summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authorCruiseDevice2019-02-18 15:42:25 +0530
committerCruiseDevice2019-02-18 16:45:17 +0530
commit3e5c98c6432f0d745bea44bf5e5d870e352d164a (patch)
tree8c71869acbc14fd6d5bc8b56903054361051e26c /yaksh
parent89c0367ba2364319e6febab191fd46b822b4f6bc (diff)
downloadonline_test-3e5c98c6432f0d745bea44bf5e5d870e352d164a.tar.gz
online_test-3e5c98c6432f0d745bea44bf5e5d870e352d164a.tar.bz2
online_test-3e5c98c6432f0d745bea44bf5e5d870e352d164a.zip
Mulitple UI changes in Quiz Edit Page:
- Remove extra conditions - Rename View Questionpaper button to Edit Questionpaper button
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/templates/yaksh/add_quiz.html14
1 files changed, 5 insertions, 9 deletions
diff --git a/yaksh/templates/yaksh/add_quiz.html b/yaksh/templates/yaksh/add_quiz.html
index 246e0fb..0762f10 100644
--- a/yaksh/templates/yaksh/add_quiz.html
+++ b/yaksh/templates/yaksh/add_quiz.html
@@ -37,15 +37,11 @@
{% if quiz and course_id %}
{% if quiz.questionpaper_set.get.id %}
<center>
- <a href="{{URL_ROOT}}/exam/manage/designquestionpaper/{{ quiz.id }}/{{quiz.questionpaper_set.get.id}}/{{course_id}}" class="btn btn-primary">View Question Paper</a>
- {% if user.profile.is_moderator %}
- {% if quiz.questionpaper_set.get %}
- <a href="{{URL_ROOT}}/exam/manage/preview_questionpaper/{{quiz.questionpaper_set.get.id}}" class="btn btn-primary" target="_blank">
- Preview Question Paper
- </a>
- <br>
- {% endif %}
- {% endif %}
+ <a href="{{URL_ROOT}}/exam/manage/designquestionpaper/{{ quiz.id }}/{{quiz.questionpaper_set.get.id}}/{{course_id}}" class="btn btn-primary">Edit Question Paper</a>
+ <a href="{{URL_ROOT}}/exam/manage/preview_questionpaper/{{quiz.questionpaper_set.get.id}}" class="btn btn-primary" target="_blank">
+ Preview Question Paper
+ </a>
+ <br>
<br>
<h4>You can check the quiz by attempting it in the following modes:</h4>
<button class="btn btn-outline-info" type="button" name="button" onClick='usermode("{{URL_ROOT}}/exam/manage/usermode/{{quiz.id}}/{{course_id}}/");'>User Mode</button>