diff options
author | Kumar Appaiah | 2018-07-31 09:56:57 +0530 |
---|---|---|
committer | Kumar Appaiah | 2018-07-31 09:56:57 +0530 |
commit | d2258bcfc5e756661d9b53ed04ab78606bd9b18e (patch) | |
tree | 59dbfa7e3f24bd82bba50f0e71977f02d57c4a9c /yaksh | |
parent | 239ed05355e46448e3232d3a026e525f821a7841 (diff) | |
download | online_test-d2258bcfc5e756661d9b53ed04ab78606bd9b18e.tar.gz online_test-d2258bcfc5e756661d9b53ed04ab78606bd9b18e.tar.bz2 online_test-d2258bcfc5e756661d9b53ed04ab78606bd9b18e.zip |
Fix spelling error: choosen to chosen
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/documentation/moderator_docs/creating_lessons_modules.rst | 2 | ||||
-rw-r--r-- | yaksh/static/yaksh/js/design_course.js | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/add_module.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/design_course_session.html | 2 | ||||
-rw-r--r-- | yaksh/test_views.py | 2 | ||||
-rw-r--r-- | yaksh/views.py | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/yaksh/documentation/moderator_docs/creating_lessons_modules.rst b/yaksh/documentation/moderator_docs/creating_lessons_modules.rst index 5131dd1..e057be0 100644 --- a/yaksh/documentation/moderator_docs/creating_lessons_modules.rst +++ b/yaksh/documentation/moderator_docs/creating_lessons_modules.rst @@ -68,7 +68,7 @@ Design a Module To add a lesson or a quiz to the module select the checkbox beside every lesson or quiz and click **Add to Module** button. - **Choosen Lesson and quizzes** contains all the lessons and quizzes that are added to a module. + **Chosen Lesson and quizzes** contains all the lessons and quizzes that are added to a module. A lesson or quiz added to a module becomes a unit. A unit has following parameters to change: diff --git a/yaksh/static/yaksh/js/design_course.js b/yaksh/static/yaksh/js/design_course.js index 7b01491..dbff9fd 100644 --- a/yaksh/static/yaksh/js/design_course.js +++ b/yaksh/static/yaksh/js/design_course.js @@ -16,7 +16,7 @@ $(document).ready(function(){ order_list.push($(this).data('item-id')+":"+$(this).val()); }); } - $(this).append('<input type="hidden" name="choosen_list" value='+checked_vals+'>'); + $(this).append('<input type="hidden" name="chosen_list" value='+checked_vals+'>'); $(this).append('<input type="hidden" name="ordered_list" value='+order_list+'>'); return true; }); diff --git a/yaksh/templates/yaksh/add_module.html b/yaksh/templates/yaksh/add_module.html index 4efccf7..309c3e7 100644 --- a/yaksh/templates/yaksh/add_module.html +++ b/yaksh/templates/yaksh/add_module.html @@ -94,7 +94,7 @@ </div> <div class="col-md-8 col-md-offset-2"> <div id="fixed-added-wrapper"> - <p><u><b>Choosen Lessons and quizzes:</b></u> + <p><u><b>Chosen Lessons and quizzes:</b></u> </p> <div id="fixed-added"> <table id="course-details" class="table table-bordered"> diff --git a/yaksh/templates/yaksh/design_course_session.html b/yaksh/templates/yaksh/design_course_session.html index 6542e3c..959bcdd 100644 --- a/yaksh/templates/yaksh/design_course_session.html +++ b/yaksh/templates/yaksh/design_course_session.html @@ -64,7 +64,7 @@ </div> <div class="col-md-8 col-md-offset-2"> <div id="fixed-added-wrapper"> - <p><u><b>Choosen Modules:</b></u></p> + <p><u><b>Chosen Modules:</b></u></p> <div id="fixed-added"> <table id="course-details" class="table table-bordered"> <tr> diff --git a/yaksh/test_views.py b/yaksh/test_views.py index 3520c61..e5c62f6 100644 --- a/yaksh/test_views.py +++ b/yaksh/test_views.py @@ -5702,7 +5702,7 @@ class TestLearningModule(TestCase): kwargs={"module_id": self.learning_module1.id, "course_id": self.course.id}), data={"Add": "Add", - "choosen_list": ",".join([str(self.quiz.id)+":"+"quiz"]) + "chosen_list": ",".join([str(self.quiz.id)+":"+"quiz"]) }) # Test add learning unit diff --git a/yaksh/views.py b/yaksh/views.py index ecd7efd..2ff8d5c 100644 --- a/yaksh/views.py +++ b/yaksh/views.py @@ -2451,7 +2451,7 @@ def design_module(request, module_id, course_id=None): learning_module = LearningModule.objects.get(id=module_id) if request.method == "POST": if "Add" in request.POST: - add_values = request.POST.get("choosen_list").split(',') + add_values = request.POST.get("chosen_list").split(',') to_add_list = [] if add_values: ordered_units = learning_module.get_learning_units() |