diff --git a/backend/src/main/kotlin/hu/bme/sch/cmsch/component/task/TaskAdminRateController.kt b/backend/src/main/kotlin/hu/bme/sch/cmsch/component/task/TaskAdminRateController.kt index 3e8fbb19..91724e87 100644 --- a/backend/src/main/kotlin/hu/bme/sch/cmsch/component/task/TaskAdminRateController.kt +++ b/backend/src/main/kotlin/hu/bme/sch/cmsch/component/task/TaskAdminRateController.kt @@ -173,6 +173,7 @@ class TaskAdminRateController( model.addAttribute("data", entity.orElseThrow()) model.addAttribute("taskTitle", entity.orElseThrow().task?.title) model.addAttribute("taskDescription", entity.orElseThrow().task?.description?.let { markdownToHtml(it) }) + model.addAttribute("taskSolution", entity.orElseThrow().task?.solution?.let { markdownToHtml(it) }) val maxScore = entity.orElseThrow().task?.maxScore ?: 0 model.addAttribute("comment", "Feladványhoz tartozó max pont: $maxScore") model.addAttribute("maxScore", maxScore) diff --git a/backend/src/main/resources/templates/details.html b/backend/src/main/resources/templates/details.html index e58cffa5..a5419769 100644 --- a/backend/src/main/resources/templates/details.html +++ b/backend/src/main/resources/templates/details.html @@ -22,7 +22,7 @@