diff options
author | CruiseDevice | 2019-02-18 15:42:25 +0530 |
---|---|---|
committer | CruiseDevice | 2019-02-18 16:45:17 +0530 |
commit | 3e5c98c6432f0d745bea44bf5e5d870e352d164a (patch) | |
tree | 8c71869acbc14fd6d5bc8b56903054361051e26c | |
parent | 89c0367ba2364319e6febab191fd46b822b4f6bc (diff) | |
download | online_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
-rw-r--r-- | yaksh/templates/yaksh/add_quiz.html | 14 |
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> |