From 70347f22e57cf9b40561ca322ef6644e88d909d9 Mon Sep 17 00:00:00 2001
From: dfurrer <none@none>
Date: Wed, 25 Nov 2015 12:52:43 +0100
Subject: [PATCH] non-jira: added hint for mode-label section in visibility tab

---
 .../DeliveryOptionsConfigurationController.java  |  2 ++
 .../iframe/_i18n/LocalStrings_de.properties      | 16 +++-------------
 .../iframe/_i18n/LocalStrings_en.properties      | 13 ++-----------
 3 files changed, 7 insertions(+), 24 deletions(-)

diff --git a/src/main/java/org/olat/core/gui/control/generic/iframe/DeliveryOptionsConfigurationController.java b/src/main/java/org/olat/core/gui/control/generic/iframe/DeliveryOptionsConfigurationController.java
index 5d1e314d569..e583dfbad24 100644
--- a/src/main/java/org/olat/core/gui/control/generic/iframe/DeliveryOptionsConfigurationController.java
+++ b/src/main/java/org/olat/core/gui/control/generic/iframe/DeliveryOptionsConfigurationController.java
@@ -171,6 +171,8 @@ public class DeliveryOptionsConfigurationController extends FormBasicController
 			translate("mode.standard"), translate("mode.configured")	
 		};
 		standardModeEl = uifactory.addRadiosVertical("mode", formLayout, standardModeKeys, standardModeValues);
+		standardModeEl.setHelpTextKey("mode.hover", null);
+		standardModeEl.setHelpUrlForManualPage("Knowledge Transfer#_splayout");
 		standardModeEl.addActionListener(FormEvent.ONCHANGE);
 		
 		uifactory.addSpacerElement("spacer.js", formLayout, false);
diff --git a/src/main/java/org/olat/core/gui/control/generic/iframe/_i18n/LocalStrings_de.properties b/src/main/java/org/olat/core/gui/control/generic/iframe/_i18n/LocalStrings_de.properties
index 7668e238af2..81f9b855616 100644
--- a/src/main/java/org/olat/core/gui/control/generic/iframe/_i18n/LocalStrings_de.properties
+++ b/src/main/java/org/olat/core/gui/control/generic/iframe/_i18n/LocalStrings_de.properties
@@ -4,7 +4,8 @@ iframe.content=Seiteninhalt im iFrame
 option.delivery=Layout
 mode=Anzeigemodus
 mode.standard=Standard
-mode.configured=Optimiert für OpenOLAT
+mode.configured=Optimiert f\u00FCr OpenOLAT
+mode.hover=Verwenden Sie die Standardeinstellung f?r extern erstellten Inhalt.
 option.css=Layout anpassen
 option.css.none=Keine
 option.css.openolat=OpenOLAT Stylesheets
@@ -24,15 +25,4 @@ inherit.label=Standardwerte 
 inherit=Aus Layouteinstellungen der Lernressource \u00FCbernehmen
 custom=Anpassen
 glossary.need.jQuery=Glossar braucht jQuery
-automatic.need.js=Automatic braucht javascript
-
-
-
-
-
-
-
-
-
-
-
+automatic.need.js=Automatic braucht javascript
\ No newline at end of file
diff --git a/src/main/java/org/olat/core/gui/control/generic/iframe/_i18n/LocalStrings_en.properties b/src/main/java/org/olat/core/gui/control/generic/iframe/_i18n/LocalStrings_en.properties
index 9d7eba6daa7..55b168f6b1a 100644
--- a/src/main/java/org/olat/core/gui/control/generic/iframe/_i18n/LocalStrings_en.properties
+++ b/src/main/java/org/olat/core/gui/control/generic/iframe/_i18n/LocalStrings_en.properties
@@ -1,15 +1,5 @@
 #Thu Sep 03 11:09:03 CEST 2015
 automatic.need.js=Automatic needs javascript
-
-
-
-
-
-
-
-
-
-
 command.download=Download file
 custom=Modify
 encoding.auto=Automatically
@@ -25,6 +15,7 @@ inherit.label=Use standard configuration
 mode=Display mode
 mode.configured=Optimized for OpenOLAT
 mode.standard=Standard
+mode.hover=Use the standard setting for externally created content.
 option.css=Adapt layout
 option.css.none=None
 option.css.openolat=OpenOLAT stylesheets
@@ -34,4 +25,4 @@ option.glossary=Embed glossary terms
 option.js=Embed Javascript library
 option.js.jQuery=jQuery
 option.js.none=None
-option.js.prototypejs=Prototype
+option.js.prototypejs=Prototype
\ No newline at end of file
-- 
GitLab