diff options
author | adityacp | 2018-02-27 15:41:08 +0530 |
---|---|---|
committer | adityacp | 2018-02-27 15:41:08 +0530 |
commit | 0ae21e437775b056d346311bd9f50220e5d9fb28 (patch) | |
tree | d1b1ff94bbb85c89f54c942c0403d6041db05a3b /yaksh/templates | |
parent | 333859a8c1ab57e70ea57e92a22eaac6a1a1c0ac (diff) | |
download | online_test-0ae21e437775b056d346311bd9f50220e5d9fb28.tar.gz online_test-0ae21e437775b056d346311bd9f50220e5d9fb28.tar.bz2 online_test-0ae21e437775b056d346311bd9f50220e5d9fb28.zip |
Change in models.py, views.py, urls.py, test_views.py, courses.html
- Allow only deep cloning of a course
- Remove tests for shallow course clone
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/courses.html | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/yaksh/templates/yaksh/courses.html b/yaksh/templates/yaksh/courses.html index b19f094..78d21bf 100644 --- a/yaksh/templates/yaksh/courses.html +++ b/yaksh/templates/yaksh/courses.html @@ -133,12 +133,7 @@ </li> <br> <li> - <a class="test" href="{{URL_ROOT}}/exam/manage/duplicate_course/shallow/{{ course.id }}/" data-toggle="tooltip" title="Creates a new copy and link modules of selected course to the copy" data-placement="top"> - Copy Course</a> - </li> - <br> - <li> - <a class="test" href="{{URL_ROOT}}/exam/manage/duplicate_course/deep/{{ course.id }}/" data-toggle="tooltip" title="Creates Copy of selected Course as well as its Modules, Lessons/Quizzes" data-placement="top"> + <a class="test" href="{{URL_ROOT}}/exam/manage/duplicate_course/{{ course.id }}/" data-toggle="tooltip" title="Creates Copy of selected Course as well as its Modules, Lessons/Quizzes" data-placement="top"> Clone Course</a> </li> </ul> @@ -274,7 +269,7 @@ </li> <br> <li> - <a class="test" href="{{URL_ROOT}}/exam/manage/duplicate_course/deep/{{ course.id }}/" data-toggle="tooltip" title="Creates Copy of selected Course as well as its Modules, Lessons/Quizzes" data-placement="top"> + <a class="test" href="{{URL_ROOT}}/exam/manage/duplicate_course/{{ course.id }}/" data-toggle="tooltip" title="Creates Copy of selected Course as well as its Modules, Lessons/Quizzes" data-placement="top"> Clone Course</a> </li> </ul> |