From d2258bcfc5e756661d9b53ed04ab78606bd9b18e Mon Sep 17 00:00:00 2001 From: Kumar Appaiah Date: Tue, 31 Jul 2018 09:56:57 +0530 Subject: Fix spelling error: choosen to chosen --- yaksh/documentation/moderator_docs/creating_lessons_modules.rst | 2 +- yaksh/static/yaksh/js/design_course.js | 2 +- yaksh/templates/yaksh/add_module.html | 2 +- yaksh/templates/yaksh/design_course_session.html | 2 +- yaksh/test_views.py | 2 +- yaksh/views.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'yaksh') 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(''); + $(this).append(''); $(this).append(''); 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 @@
-

Choosen Lessons and quizzes: +

Chosen Lessons and quizzes:

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 @@
-

Choosen Modules:

+

Chosen Modules:

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() -- cgit