diff --git a/searchapp/static/student_view.js b/searchapp/static/student_view.js index 5d799d4..95376f8 100644 --- a/searchapp/static/student_view.js +++ b/searchapp/static/student_view.js @@ -235,7 +235,14 @@ function populate_subjects(value,text, $selectedItem) { $(`#${worksheetType}-breakup-options-parent`).empty(); $(`#${worksheetType}-breakup`).removeClass('hide-display').addClass('show-display'); subject_breakup.forEach(function(breakup){ - let paperElement = `
${breakup}
`; + let paperElement = `
+ ${breakup['name']} + + Marks: ${breakup['question_weightage']}   + Type: ${breakup['question_type']}   + Attempt ${breakup['questions_to_attempt']} out of ${breakup['total_questions']} + +
`; $(`#${worksheetType}-breakup-options-parent`).append(paperElement); }) } diff --git a/searchapp/templates/student_view.html b/searchapp/templates/student_view.html index d3e68ff..ed54b46 100644 --- a/searchapp/templates/student_view.html +++ b/searchapp/templates/student_view.html @@ -60,7 +60,7 @@
-