From b835440b1e2ca0059e95b6848cb87cc5724ee967 Mon Sep 17 00:00:00 2001 From: adityacp Date: Sat, 28 Mar 2020 16:59:10 +0530 Subject: Fix workflow for creating modules, lessons, quizzes --- grades/templates/add_grades.html | 18 +- grades/templates/grading_systems.html | 18 +- yaksh/templates/yaksh/add_course.html | 18 +- yaksh/templates/yaksh/add_exercise.html | 14 +- yaksh/templates/yaksh/add_lesson.html | 10 +- yaksh/templates/yaksh/add_quiz.html | 14 +- yaksh/templates/yaksh/course_added_modules.html | 127 ++++++++++---- yaksh/templates/yaksh/courses.html | 16 +- yaksh/templates/yaksh/design_questionpaper.html | 9 +- yaksh/test_views.py | 213 ++++++++++-------------- yaksh/urls.py | 39 ++--- yaksh/views.py | 153 +++++------------ 12 files changed, 258 insertions(+), 391 deletions(-) diff --git a/grades/templates/add_grades.html b/grades/templates/add_grades.html index f53a337..198eb4b 100644 --- a/grades/templates/add_grades.html +++ b/grades/templates/add_grades.html @@ -17,22 +17,10 @@ Add/Edit Course -
diff --git a/grades/templates/grading_systems.html b/grades/templates/grading_systems.html index 88adfa0..46b3d30 100644 --- a/grades/templates/grading_systems.html +++ b/grades/templates/grading_systems.html @@ -16,22 +16,10 @@ Add/Edit Course - diff --git a/yaksh/templates/yaksh/add_course.html b/yaksh/templates/yaksh/add_course.html index 97c6f56..0072a95 100644 --- a/yaksh/templates/yaksh/add_course.html +++ b/yaksh/templates/yaksh/add_course.html @@ -26,22 +26,10 @@ Add/Edit Course - diff --git a/yaksh/templates/yaksh/add_exercise.html b/yaksh/templates/yaksh/add_exercise.html index d3d9068..542d1c4 100644 --- a/yaksh/templates/yaksh/add_exercise.html +++ b/yaksh/templates/yaksh/add_exercise.html @@ -23,17 +23,9 @@ {% endfor %} {% endif %} - {% if course_id %} - - - Back - - {% else %} - - - Back - - {% endif %} + + Back +