From c48511623a7956cba4ea5f8b2cb521240d001bcc Mon Sep 17 00:00:00 2001
From: dfurrer <none@none>
Date: Wed, 23 Dec 2015 13:46:23 +0100
Subject: [PATCH] non-jira:corrected position of contexthelp in calendar

---
 .../java/org/olat/commons/calendar/ui/CalendarEntryForm.java    | 2 ++
 .../java/org/olat/commons/calendar/ui/_content/indexWeekly.html | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/olat/commons/calendar/ui/CalendarEntryForm.java b/src/main/java/org/olat/commons/calendar/ui/CalendarEntryForm.java
index 0cd1dfd3a7f..e5430e05998 100644
--- a/src/main/java/org/olat/commons/calendar/ui/CalendarEntryForm.java
+++ b/src/main/java/org/olat/commons/calendar/ui/CalendarEntryForm.java
@@ -374,6 +374,8 @@ public class CalendarEntryForm extends FormBasicController {
 		recurrenceEnd.setVisible(!chooseRecurrence.getSelectedKey().equals(RECURRENCE_NONE));
 		
 		classification = uifactory.addRadiosVertical("classification", "cal.form.class", formLayout, classKeys, classValues);
+		classification.setHelpUrlForManualPage("Calendar#_visibility");
+		classification.setHelpTextKey("cal.form.class.hover", null);
 		classification.setEnabled(!CalendarManagedFlag.isManaged(event, CalendarManagedFlag.classification));
 		switch (event.getClassification()) {
 			case KalendarEvent.CLASS_PRIVATE: classification.select("0", true); break;
diff --git a/src/main/java/org/olat/commons/calendar/ui/_content/indexWeekly.html b/src/main/java/org/olat/commons/calendar/ui/_content/indexWeekly.html
index 7ac2f4ce4bc..be3b579f768 100644
--- a/src/main/java/org/olat/commons/calendar/ui/_content/indexWeekly.html
+++ b/src/main/java/org/olat/commons/calendar/ui/_content/indexWeekly.html
@@ -1,6 +1,6 @@
 <div id="o_cal_config_below_cal_container">
 	<div class="o_cal_toptoolbar clearfix">
-		$r.contextHelpWithWrapper("Calendar")
+		<br>$r.contextHelpWithWrapper("Calendar")
 		#if ($r.available("calsubscription"))
 			$r.render("calsubscription")
 		#end
-- 
GitLab