summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authoradityacp2018-07-17 15:37:19 +0530
committeradityacp2018-07-17 15:37:19 +0530
commit8902f96f28ead9f2ed158691e582f09c8366dfcd (patch)
treefae09dcb990eb010609f8080c5b8fbf98c7d122c /yaksh/templates
parentb15117aa6755f71221520eb73bf6af1ab90b7f13 (diff)
downloadonline_test-8902f96f28ead9f2ed158691e582f09c8366dfcd.tar.gz
online_test-8902f96f28ead9f2ed158691e582f09c8366dfcd.tar.bz2
online_test-8902f96f28ead9f2ed158691e582f09c8366dfcd.zip
Create assignment upload files for a particular course instead of quiz
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/grade_user.html4
-rw-r--r--yaksh/templates/yaksh/view_answerpaper.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/templates/yaksh/grade_user.html b/yaksh/templates/yaksh/grade_user.html
index 8430e91..2e5a403 100644
--- a/yaksh/templates/yaksh/grade_user.html
+++ b/yaksh/templates/yaksh/grade_user.html
@@ -62,7 +62,7 @@ $(document).ready(function()
{% if has_quiz_assignments %}
-<a href="{{URL_ROOT}}/exam/manage/download/quiz_assignments/{{quiz_id}}/">
+<a href="{{URL_ROOT}}/exam/manage/download/quiz_assignments/{{quiz_id}}/{{course_id}}">
Download All Assignments</a>
{% endif %}
@@ -194,7 +194,7 @@ Status : <b style="color: red;"> Failed </b><br/>
<h5>Student answer: </h5>
{% if question.type == "upload" %}
{% if has_user_assignments %}
- <a href="{{URL_ROOT}}/exam/manage/download/user_assignment/{{question.id}}/{{data.user.id}}/{{paper.question_paper.quiz.id}}">
+ <a href="{{URL_ROOT}}/exam/manage/download/user_assignment/{{question.id}}/{{data.user.id}}/{{paper.question_paper.quiz.id}}/{{course_id}}">
<div class="panel">
Assignment File for {{ data.user.get_full_name.title }}
</div>
diff --git a/yaksh/templates/yaksh/view_answerpaper.html b/yaksh/templates/yaksh/view_answerpaper.html
index 7cbec91..8f3fad7 100644
--- a/yaksh/templates/yaksh/view_answerpaper.html
+++ b/yaksh/templates/yaksh/view_answerpaper.html
@@ -124,7 +124,7 @@
{% endfor %}
</div>
{% elif question.type == "upload" and has_user_assignment %}
- <a href="{{URL_ROOT}}/exam/download/user_assignment/{{question.id}}/{{data.user.id}}/{{paper.question_paper.quiz.id}}">
+ <a href="{{URL_ROOT}}/exam/download/user_assignment/{{question.id}}/{{data.user.id}}/{{paper.question_paper.quiz.id}}/{{course_id}}">
<div class="well well-sm">
<div class="panel">
Assignment File for {{ data.user.get_full_name.title }}