Skip to content
Snippets Groups Projects
Commit 127a6111 authored by srosse's avatar srosse
Browse files

OO-2731: add help to the feedback editor for QTI 2.1

parent 32a382e5
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,8 @@ public class FeedbackEditorController extends FormBasicController {
hintTextEl = uifactory.addRichTextElementForQTI21("hintText", "form.imd.hint.text", hintText, 8, -1,
itemContainer, formLayout, ureq.getUserSession(), getWindowControl());
hintTextEl.setEnabled(!restrictedEdit);
hintTextEl.setHelpTextKey("feedback.hint.help", null);
hintTextEl.setHelpUrlForManualPage("Test editor QTI 2.1 in detail#details_testeditor_feedback");
RichTextConfiguration hintConfig = hintTextEl.getEditorConfiguration();
hintConfig.setFileBrowserUploadRelPath("media");// set upload dir to the media dir
}
......@@ -100,6 +102,8 @@ public class FeedbackEditorController extends FormBasicController {
feedbackCorrectSolutionTextEl = uifactory.addRichTextElementForQTI21("correctSolutionText", "form.imd.correct.solution.text", correctSolutionText, 8, -1,
itemContainer, formLayout, ureq.getUserSession(), getWindowControl());
feedbackCorrectSolutionTextEl.setEnabled(!restrictedEdit);
feedbackCorrectSolutionTextEl.setHelpTextKey("feedback.correctsolution.help", null);
feedbackCorrectSolutionTextEl.setHelpUrlForManualPage("Test editor QTI 2.1 in detail#details_testeditor_feedback");
RichTextConfiguration richTextConfig2 = feedbackCorrectSolutionTextEl.getEditorConfiguration();
richTextConfig2.setFileBrowserUploadRelPath("media");// set upload dir to the media dir
}
......@@ -114,6 +118,8 @@ public class FeedbackEditorController extends FormBasicController {
feedbackCorrectTextEl = uifactory.addRichTextElementForQTI21("correctText", "form.imd.correct.text", correctText, 8, -1,
itemContainer, formLayout, ureq.getUserSession(), getWindowControl());
feedbackCorrectTextEl.setEnabled(!restrictedEdit);
feedbackCorrectTextEl.setHelpTextKey("feedback.correct.help", null);
feedbackCorrectTextEl.setHelpUrlForManualPage("Test editor QTI 2.1 in detail#details_testeditor_feedback");
RichTextConfiguration richTextConfig = feedbackCorrectTextEl.getEditorConfiguration();
richTextConfig.setFileBrowserUploadRelPath("media");// set upload dir to the media dir
}
......@@ -129,6 +135,8 @@ public class FeedbackEditorController extends FormBasicController {
feedbackIncorrectTextEl = uifactory.addRichTextElementForQTI21("incorrectText", "form.imd.incorrect.text", incorrectText, 8, -1,
itemContainer, formLayout, ureq.getUserSession(), getWindowControl());
feedbackIncorrectTextEl.setEnabled(!restrictedEdit);
feedbackIncorrectTextEl.setHelpTextKey("feedback.incorrect.help", null);
feedbackIncorrectTextEl.setHelpUrlForManualPage("Test editor QTI 2.1 in detail#details_testeditor_feedback");
RichTextConfiguration richTextConfig2 = feedbackIncorrectTextEl.getEditorConfiguration();
richTextConfig2.setFileBrowserUploadRelPath("media");// set upload dir to the media dir
}
......
......@@ -27,6 +27,10 @@ essay.max.strings=Max Anzahl W\u00F6rter
essay.min.strings=Min Anzahl W\u00F6rter
essay.rows=H\u00F6he (Anzahl Zeilen)
export.qpool.successful=$org.olat.ims.qti.editor\:export.qpool.successful
feedback.correctsolution.help=Korrekte L\u00F6sung: Diese L\u00F6sung wird automatisch dann angezeigt, wenn die Antwort falsch ist.
feedback.correct.help=Feedback bei Wahl aller korrekten Antworten: Dieses Feedback erscheint nur dann, wenn alle Antworten korrekt sind.
feedback.incorrect.help=Feedback bei Wahl einer falschen Antwort: Dieses Feedback erscheint, sobald 1 Antwort falsch ist (z.B.wenn von 50 L\u00FCcken nur 1 Antwort falsch ist).
feedback.hint.help=L\u00F6sungshinweis: F\u00FCr den Testteilnehmer erscheint eine Schaltfl\u00E4che, welche er aufrufen kann, solange die Antwort noch nicht gesendet worden ist.
fib.alternative=Varianten
fib.alternative.help=Verschiedene Varianten werden mit Komma getrennt.
fib.caseSensitive=Gross/Klein
......
......@@ -27,6 +27,10 @@ essay.max.strings=Max. words
essay.min.strings=Min. words
essay.rows=Height (number of lines)
export.qpool.successful=$org.olat.ims.qti.editor\:export.qpool.successful
feedback.correctsolution.help=Correct solution: The solution is shown automatically, if the answer is wrong.
feedback.correct.help=Feedback for all correct answers: The feedback appears only if all answer are correct.
feedback.incorrect.help=Feedback for wrong answer: This feedback appears, as soon as 1 answer is wrong. E.g. also in a gap text, which consists of 50 gaps and only 1 answer is wrong.
feedback.hint.help=Hint: For the hint a button appears, which can be opened, as long as the answer is not submitted yet.
fib.alternative=Alternative
fib.alternative.help=Different alternatives are separated by comma.
fib.caseSensitive=Case sensitive
......
......@@ -90,6 +90,8 @@ public class LobFeedbackEditorController extends FormBasicController {
hintTextEl = uifactory.addRichTextElementForQTI21("hintText", "form.imd.hint.text", hintText, 8, -1,
itemContainer, formLayout, ureq.getUserSession(), getWindowControl());
hintTextEl.setEnabled(!restrictedEdit);
hintTextEl.setHelpTextKey("feedback.hint.help", null);
hintTextEl.setHelpUrlForManualPage("Test editor QTI 2.1 in detail#details_testeditor_feedback");
RichTextConfiguration hintConfig = hintTextEl.getEditorConfiguration();
hintConfig.setFileBrowserUploadRelPath("media");// set upload dir to the media dir
}
......@@ -104,6 +106,8 @@ public class LobFeedbackEditorController extends FormBasicController {
feedbackCorrectSolutionTextEl = uifactory.addRichTextElementForQTI21("correctSolutionText", "form.imd.correct.solution.text.word", correctSolutionText, 8, -1,
itemContainer, formLayout, ureq.getUserSession(), getWindowControl());
feedbackCorrectSolutionTextEl.setEnabled(!restrictedEdit);
feedbackCorrectSolutionTextEl.setHelpTextKey("feedback.correctsolution.help", null);
feedbackCorrectSolutionTextEl.setHelpUrlForManualPage("Test editor QTI 2.1 in detail#details_testeditor_feedback");
RichTextConfiguration richTextConfig2 = feedbackCorrectSolutionTextEl.getEditorConfiguration();
richTextConfig2.setFileBrowserUploadRelPath("media");// set upload dir to the media dir
}
......
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