From 71b46fe511b279e84ff72c327e5d767f3f278fa7 Mon Sep 17 00:00:00 2001
From: dfurrer <none@none>
Date: Wed, 30 Sep 2015 11:59:25 +0200
Subject: [PATCH] OO-1658	: updated context help in cl node

---
 .../course/nodes/cl/ui/CheckListAssessmentController.java  | 2 +-
 .../course/nodes/cl/ui/CheckListBoxListEditController.java | 2 +-
 .../nodes/cl/ui/CheckListConfigurationController.java      | 2 +-
 .../course/nodes/cl/ui/_chelp/cl-checkbox-template.html    | 2 +-
 .../org/olat/course/nodes/cl/ui/_chelp/cl-checkbox.html    | 7 -------
 5 files changed, 4 insertions(+), 11 deletions(-)
 delete mode 100644 src/main/java/org/olat/course/nodes/cl/ui/_chelp/cl-checkbox.html

diff --git a/src/main/java/org/olat/course/nodes/cl/ui/CheckListAssessmentController.java b/src/main/java/org/olat/course/nodes/cl/ui/CheckListAssessmentController.java
index b326bb7b12d..4322d0f4bf6 100644
--- a/src/main/java/org/olat/course/nodes/cl/ui/CheckListAssessmentController.java
+++ b/src/main/java/org/olat/course/nodes/cl/ui/CheckListAssessmentController.java
@@ -189,7 +189,7 @@ public class CheckListAssessmentController extends FormBasicController implement
 	@Override
 	protected void initForm(FormItemContainer formLayout, Controller listener, UserRequest ureq) {
 		setFormDescription("coach.desc");
-		setFormContextHelp("org.olat.course.nodes.cl.ui", "cl-coach-assessment.html", "help.hover.coach.assessment");
+		setFormContextHelp("Assessment#_checklist_manage");
 
 		if(formLayout instanceof FormLayoutContainer) {
 			FormLayoutContainer layoutCont = (FormLayoutContainer)formLayout;
diff --git a/src/main/java/org/olat/course/nodes/cl/ui/CheckListBoxListEditController.java b/src/main/java/org/olat/course/nodes/cl/ui/CheckListBoxListEditController.java
index e7660d4c389..7919956d24a 100644
--- a/src/main/java/org/olat/course/nodes/cl/ui/CheckListBoxListEditController.java
+++ b/src/main/java/org/olat/course/nodes/cl/ui/CheckListBoxListEditController.java
@@ -105,7 +105,7 @@ public class CheckListBoxListEditController extends FormBasicController {
 	protected void initForm(FormItemContainer formLayout, Controller listener, UserRequest ureq) {
 		setFormTitle("config.checkbox.title");
 		setFormDescription("config.checkbox.description");
-		setFormContextHelp("org.olat.course.nodes.cl.ui", "cl-checkbox.html", "help.hover.checkbox");
+		setFormContextHelp("Assessment#_checklist_cb");
 		if(inUse) {
 			setFormWarning("config.warning.inuse");
 		}
diff --git a/src/main/java/org/olat/course/nodes/cl/ui/CheckListConfigurationController.java b/src/main/java/org/olat/course/nodes/cl/ui/CheckListConfigurationController.java
index 1f4d28ebc7b..083da789ac1 100644
--- a/src/main/java/org/olat/course/nodes/cl/ui/CheckListConfigurationController.java
+++ b/src/main/java/org/olat/course/nodes/cl/ui/CheckListConfigurationController.java
@@ -100,7 +100,7 @@ public class CheckListConfigurationController extends FormBasicController {
 		} else {
 			setFormTitle("config.title");
 			setFormDescription("config.description");
-			setFormContextHelp("org.olat.course.nodes.cl.ui", "cl-config.html", "help.hover.config");
+			setFormContextHelp("Assessment#_checklist_kursbaustein");
 			if(inUse) {
 				setFormWarning("config.warning.inuse");
 			}
diff --git a/src/main/java/org/olat/course/nodes/cl/ui/_chelp/cl-checkbox-template.html b/src/main/java/org/olat/course/nodes/cl/ui/_chelp/cl-checkbox-template.html
index 16f381f0249..97f792eb0b7 100644
--- a/src/main/java/org/olat/course/nodes/cl/ui/_chelp/cl-checkbox-template.html
+++ b/src/main/java/org/olat/course/nodes/cl/ui/_chelp/cl-checkbox-template.html
@@ -1,3 +1,3 @@
 <p>$r.translate("chelp.checkbox.template.1")</p>
 <p>$r.translate("chelp.checkbox.template.2")</p>
-<p>$r.translate("chelp.checkbox.template.3") $r.contextHelpRelativeLink("cl-checkbox.html").</p>
\ No newline at end of file
+<p>$r.translate("chelp.checkbox.template.3") $r.contextHelpRelativeLink("Assessment#_checklist_cb").</p>
\ No newline at end of file
diff --git a/src/main/java/org/olat/course/nodes/cl/ui/_chelp/cl-checkbox.html b/src/main/java/org/olat/course/nodes/cl/ui/_chelp/cl-checkbox.html
deleted file mode 100644
index cc460dae2b7..00000000000
--- a/src/main/java/org/olat/course/nodes/cl/ui/_chelp/cl-checkbox.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<p>$r.translate("chelp.checkbox.1")</p>
-<p>$r.translate("chelp.checkbox.2")</p>
-<p>$r.translate("chelp.checkbox.3")</p>
-<p>$r.translate("chelp.checkbox.4")</p>
-<p>$r.translate("chelp.checkbox.5")</p>
-<p>$r.translate("chelp.checkbox.6")</p>
-<p>$r.translate("chelp.checkbox.7")</p>
\ No newline at end of file
-- 
GitLab