From 9d63043c9a19396cc65482f6c8fc1eb2378cbe72 Mon Sep 17 00:00:00 2001
From: dfurrer <none@none>
Date: Wed, 30 Sep 2015 11:54:08 +0200
Subject: [PATCH] OO-1658: updated context help in course editor

---
 .../olat/course/editor/_chelp/ced-acc.html    | 17 -----------------
 .../course/editor/_chelp/ced-noAcc-expl.html  |  6 ------
 .../olat/course/editor/_chelp/ced-vis.html    | 19 -------------------
 .../editor/_content/noAccessExplEdit.html     |  3 +--
 .../olat/course/editor/_content/nodeedit.html |  2 +-
 .../editor/_content/visibilityedit.html       |  2 +-
 6 files changed, 3 insertions(+), 46 deletions(-)
 delete mode 100644 src/main/java/org/olat/course/editor/_chelp/ced-acc.html
 delete mode 100644 src/main/java/org/olat/course/editor/_chelp/ced-noAcc-expl.html
 delete mode 100644 src/main/java/org/olat/course/editor/_chelp/ced-vis.html

diff --git a/src/main/java/org/olat/course/editor/_chelp/ced-acc.html b/src/main/java/org/olat/course/editor/_chelp/ced-acc.html
deleted file mode 100644
index c097d158d89..00000000000
--- a/src/main/java/org/olat/course/editor/_chelp/ced-acc.html
+++ /dev/null
@@ -1,17 +0,0 @@
- <br/>$r.translateWithPackage("org.olat","chelp.moreInfo") <br/>
-$r.contextHelpRelativeLink("ced-visacc-expl.html")<br/>
-$r.contextHelpRelativeLink("ced-expert-expl.html")<br/>
-$r.contextHelpRelativeLink("ced-expert-eg.html")<br/>
-$r.contextHelpRelativeLink("ced-attr.html")<br/>
-<a href="http://www.switch.ch/aai/" target="_blank"><i class="o_icon o_icon_link_extern"> </i> $r.translate("chelp.generalAAI")</a><br/><br/>
-<br/>
-<br/>
-$r.translate("chelp.coachExclusive") $r.translate("chelp.9") $r.translate("chelp.10acc") <br/><br/>
-$r.translate("chelp.dateSwitch") $r.translate("chelp.11acc") <br/><br/>
-$r.translate("chelp.groupSwitch") $r.translate("chelp.12acc") <br/><br/>
-$r.translate("chelp.assessmentSwitch") $r.translate("chelp.13") $r.translate("chelp.13acc") <br/>
-$r.translate("chelp.14acc") <br/><br/>
-$r.translate("chelp.attributeEasy") $r.translate("chelp.16acc")$r.contextHelpRelativeLink("ced-attr.html") $r.translate("chelp.and") <a href="http://www.switch.ch/aai/" target="_blank"><i class="o_icon o_icon_link_extern"> </i> $r.translate("chelp.generalAAI")</a><br/><br/>
-$r.translate("chelp.applyRulesForCoach") $r.translate("chelp.15acc") <br/><br/>
-$r.translate("chelp.16")<br/><br/>
-$r.translate("chelp.assessmentMode") $r.translate("chelp.18")<br/><br/>
diff --git a/src/main/java/org/olat/course/editor/_chelp/ced-noAcc-expl.html b/src/main/java/org/olat/course/editor/_chelp/ced-noAcc-expl.html
deleted file mode 100644
index 5463d4143c0..00000000000
--- a/src/main/java/org/olat/course/editor/_chelp/ced-noAcc-expl.html
+++ /dev/null
@@ -1,6 +0,0 @@
- <br/>
-	$r.translate("chelp.noAccText") $r.translate("chelp.noAcc1")
-<br/>
-<br/>
-$r.translateWithPackage("org.olat","chelp.see") $r.translate("chelp.fig1D"): 
-$r.contextHelpRelativeLink("ced-visacc-expl.html") 
\ No newline at end of file
diff --git a/src/main/java/org/olat/course/editor/_chelp/ced-vis.html b/src/main/java/org/olat/course/editor/_chelp/ced-vis.html
deleted file mode 100644
index 6774403f961..00000000000
--- a/src/main/java/org/olat/course/editor/_chelp/ced-vis.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<br/>
-$r.translateWithPackage("org.olat","chelp.moreInfo") <br/>
-$r.contextHelpRelativeLink("ced-visacc-expl.html")<br/>
-$r.contextHelpRelativeLink("ced-expert-expl.html")<br/>
-$r.contextHelpRelativeLink("ced-expert-eg.html")<br/>
-$r.contextHelpRelativeLink("ced-attr.html")<br/>
-<a href="http://www.switch.ch/aai/" target="_blank"><i class="o_icon o_icon_link_extern"> </i> $r.translate("chelp.generalAAI")</a><br/><br/>
-
-$r.translate("chelp.8vis")<br/><br/>
-
-$r.translate("chelp.coachExclusive") $r.translate("chelp.9") $r.translate("chelp.10vis") <br/><br/>
-$r.translate("chelp.dateSwitch") $r.translate("chelp.11vis")<br/><br/>
-$r.translate("chelp.groupSwitch") $r.translate("chelp.12vis")<br/><br/>
-$r.translate("chelp.assessmentSwitch") $r.translate("chelp.13") $r.translate("chelp.13vis")<br/>
-$r.translate("chelp.14vis")<br/><br/>
-$r.translate("chelp.attributeEasy") $r.translate("chelp.16vis")$r.contextHelpRelativeLink("ced-attr.html") $r.translate("chelp.and") <a href="http://www.switch.ch/aai/" target="_blank"><i class="o_icon o_icon_link_extern"> </i> $r.translate("chelp.generalAAI")</a><br/><br/>
-$r.translate("chelp.applyRulesForCoach") $r.translate("chelp.15vis")<br/><br/>
-$r.translate("chelp.16")<br/><br/>
-$r.translate("chelp.assessmentMode") $r.translate("chelp.17")<br/><br/>
\ No newline at end of file
diff --git a/src/main/java/org/olat/course/editor/_content/noAccessExplEdit.html b/src/main/java/org/olat/course/editor/_content/noAccessExplEdit.html
index 2a7bb884a1a..43818cb43cc 100644
--- a/src/main/java/org/olat/course/editor/_content/noAccessExplEdit.html
+++ b/src/main/java/org/olat/course/editor/_content/noAccessExplEdit.html
@@ -1,5 +1,4 @@
 <fieldset>
-	<legend>$r.contextHelpWithWrapper("org.olat.course.editor","ced-noAcc-expl.html","help.hover.noAcc")
-	$r.translate("condition.noAccessExplanation.title")</legend>
+	<legend>$r.translate("condition.noAccessExplanation.title")</legend>
 	$r.render("noAccexplForm")
 </fieldset>
diff --git a/src/main/java/org/olat/course/editor/_content/nodeedit.html b/src/main/java/org/olat/course/editor/_content/nodeedit.html
index 78c1f685e63..c0d4dbdd720 100644
--- a/src/main/java/org/olat/course/editor/_content/nodeedit.html
+++ b/src/main/java/org/olat/course/editor/_content/nodeedit.html
@@ -1,6 +1,6 @@
 <fieldset id="$r.getCId()" class="o_form form-horizontal" role="form">
 	<legend>
-		$r.contextHelpWithWrapper("org.olat.course.editor","ced-des.html","help.hover.des")
+		$r.contextHelpWithWrapper("General Configuration of Course Elements#_beschreibung")
 		$r.translate("nodeConfigForm.title")</legend>
 	<div class="clearfix">
 		<div class="small pull-left">Id: $nodeId</div>
diff --git a/src/main/java/org/olat/course/editor/_content/visibilityedit.html b/src/main/java/org/olat/course/editor/_content/visibilityedit.html
index 93ee6447611..8d4762c9751 100644
--- a/src/main/java/org/olat/course/editor/_content/visibilityedit.html
+++ b/src/main/java/org/olat/course/editor/_content/visibilityedit.html
@@ -1,5 +1,5 @@
 <fieldset class="o_form form-horizontal o_sel_course_visibility_condition_form">
-	<legend>$r.contextHelpWithWrapper("org.olat.course.editor","ced-vis.html","help.hover.vis")
+	<legend>$r.contextHelpWithWrapper("General Configuration of Course Elements#_zugang")
 	$r.translate("condition.visibility.title")</legend>
 	$r.render("visibilityCondition")
 </fieldset>
-- 
GitLab