Skip to content
Snippets Groups Projects
Commit c8f0106b authored by Moritzjenny's avatar Moritzjenny
Browse files

no-jira: add learning path help links

parent d0c40282
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,7 @@ public class LearningPathNodeConfigController extends FormBasicController {
@Override
protected void initForm(FormItemContainer formLayout, Controller listener, UserRequest ureq) {
setFormTitle("config.title");
setFormContextHelp("Learning path element");
KeyValues obligationKV = new KeyValues();
obligationKV.add(entry(AssessmentObligation.mandatory.name(), translate("config.obligation.mandatory")));
obligationKV.add(entry(AssessmentObligation.optional.name(), translate("config.obligation.optional")));
......
......@@ -3,6 +3,7 @@
<i class="o_icon o_icon_learning_path"> </i>
$r.translate("identity.list.title")
<small>$r.translate("identity.list.course",$courseTitle)</small>
$r.contextHelpWithWrapper("Learning path profile")
</h2>
$r.render("user")
$r.render("list")
......
......@@ -103,7 +103,7 @@ public class NodeAccessSettingsController extends FormBasicController {
@Override
protected void initForm(FormItemContainer formLayout, Controller listener, UserRequest ureq) {
setFormTitle("settings.title");
setFormContextHelp("Access course elements");
String nodeAccessTypeName = nodeAccessService.getNodeAccessTypeName(courseConfig.getNodeAccessType(),
getLocale());
uifactory.addStaticTextElement("settings.type", nodeAccessTypeName, formLayout);;
......
......@@ -58,7 +58,7 @@ public class STLearningPathConfigController extends FormBasicController {
@Override
protected void initForm(FormItemContainer formLayout, Controller listener, UserRequest ureq) {
setFormTitle("config.title");
setFormContextHelp("Learning Path");
KeyValues sequenceKV = new KeyValues();
sequenceKV.add(KeyValues.entry(STCourseNode.CONFIG_LP_SEQUENCE_VALUE_SEQUENTIAL, translate("config.sequence.sequential")));
sequenceKV.add(KeyValues.entry(STCourseNode.CONFIG_LP_SEQUENCE_VALUE_WITHOUT, translate("config.sequence.without")));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment