diff options
author | King | 2018-07-31 02:51:51 -0700 |
---|---|---|
committer | GitHub | 2018-07-31 02:51:51 -0700 |
commit | a4d5349e85503b4c030df392212bce4ab8866703 (patch) | |
tree | b83692df5adc82ab0a3f4af7dabe7ba8aa4a7540 /yaksh/templates | |
parent | 239ed05355e46448e3232d3a026e525f821a7841 (diff) | |
parent | f4b6bf5349c3916321a5ed3d67159548b4bb56ce (diff) | |
download | online_test-a4d5349e85503b4c030df392212bce4ab8866703.tar.gz online_test-a4d5349e85503b4c030df392212bce4ab8866703.tar.bz2 online_test-a4d5349e85503b4c030df392212bce4ab8866703.zip |
Merge pull request #502 from adityacp/fix_assignment_upload
Fix assignment upload
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/grade_user.html | 4 | ||||
-rw-r--r-- | yaksh/templates/yaksh/view_answerpaper.html | 2 |
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 }} |