From 98356545693c4377e709f9fd6516e0956e81f601 Mon Sep 17 00:00:00 2001 From: Andreas Michael Parschalk <andreas.parschalk@uibk.ac.at> Date: Fri, 24 Jul 2020 17:04:22 +0200 Subject: [PATCH] openolat#215: hide bbb meetings calendar from user in edit form --- .../bigbluebutton/ui/EditBigBlueButtonMeetingController.java | 5 +++-- .../ui/recurring/BigBlueButtonDateListController.java | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/olat/modules/bigbluebutton/ui/EditBigBlueButtonMeetingController.java b/src/main/java/org/olat/modules/bigbluebutton/ui/EditBigBlueButtonMeetingController.java index b11a2165270..f3950f4fb9a 100644 --- a/src/main/java/org/olat/modules/bigbluebutton/ui/EditBigBlueButtonMeetingController.java +++ b/src/main/java/org/olat/modules/bigbluebutton/ui/EditBigBlueButtonMeetingController.java @@ -216,8 +216,9 @@ public class EditBigBlueButtonMeetingController extends FormBasicController { externalLinkEl.setExampleKey("noTransOnlyParam", new String[] {BigBlueButtonDispatcher.getMeetingUrl(externalLink)}); } - openCalLink = uifactory.addFormLink("calendar.open", formLayout); - openCalLink.setIconLeftCSS("o_icon o_icon-fw o_icon_calendar"); + // UIBK: hide bbb-meeting calendar from end-users (https://git.uibk.ac.at/zid/dmlt/olat/openolat/issues/215) + //openCalLink = uifactory.addFormLink("calendar.open", formLayout); + //openCalLink.setIconLeftCSS("o_icon o_icon-fw o_icon_calendar"); updateTemplateInformations(); if(mode == Mode.dates) { diff --git a/src/main/java/org/olat/modules/bigbluebutton/ui/recurring/BigBlueButtonDateListController.java b/src/main/java/org/olat/modules/bigbluebutton/ui/recurring/BigBlueButtonDateListController.java index 8ad870e0d17..810e0c40998 100644 --- a/src/main/java/org/olat/modules/bigbluebutton/ui/recurring/BigBlueButtonDateListController.java +++ b/src/main/java/org/olat/modules/bigbluebutton/ui/recurring/BigBlueButtonDateListController.java @@ -91,8 +91,9 @@ public class BigBlueButtonDateListController extends StepFormBasicController imp addButton = uifactory.addFormLink("add.meeting", formLayout, Link.BUTTON); addButton.setIconLeftCSS("o_icon o_icon-fw o_icon_add"); - openCalLink = uifactory.addFormLink("calendar.open", formLayout, Link.BUTTON); - openCalLink.setIconLeftCSS("o_icon o_icon-fw o_icon_calendar"); + // UIBK: hide bbb-meeting calendar from end-users (https://git.uibk.ac.at/zid/dmlt/olat/openolat/issues/215) + //openCalLink = uifactory.addFormLink("calendar.open", formLayout, Link.BUTTON); + //openCalLink.setIconLeftCSS("o_icon o_icon-fw o_icon_calendar"); FlexiTableColumnModel columnsModel = FlexiTableDataModelFactory.createFlexiTableColumnModel(); columnsModel.addFlexiColumnModel(new DefaultFlexiColumnModel(RecurringCols.available, -- GitLab