diff --git a/classes/class.ilObjBigBlueButtonGUI.php b/classes/class.ilObjBigBlueButtonGUI.php index 4bb65b7..26300f5 100755 --- a/classes/class.ilObjBigBlueButtonGUI.php +++ b/classes/class.ilObjBigBlueButtonGUI.php @@ -359,12 +359,17 @@ public function showContent() $my_tpl->setVariable("hasMeetingRecordings", $this->has_meeting_recordings && boolval($values["choose_recording"]) ? "true" : "false"); $bbbURL=$BBBHelper->joinURLModerator($this->object); - } else { + } + else { $my_tpl = new ilTemplate("./Customizing/global/plugins/Services/Repository/RepositoryObject/BigBlueButton/templates/tpl.BigBlueButtonClient.html", true, true); $my_tpl->setVariable("classNotStartedText", $this->txt("class_not_started_yet")); - - $bbbURL=$BBBHelper->joinURL($this->object); + + $my_tpl->setVariable("recordings", $this->buildRecordingUI()); + $my_tpl->setVariable("Headline_Recordings", $this->txt("Headline_Recordings")); + + $bbbURL=$BBBHelper->joinURL($this->object); + } $my_tpl->setVariable("clickToOpenClass", $this->txt("click_to_open_class")); diff --git a/templates/tpl.BigBlueButtonClient.html b/templates/tpl.BigBlueButtonClient.html index 5af88df..434d8a9 100755 --- a/templates/tpl.BigBlueButtonClient.html +++ b/templates/tpl.BigBlueButtonClient.html @@ -16,12 +16,7 @@ $('#classNotStarted').show(); } - var isMeetingRecorded={isMeetingRecorded}; - if(isMeetingRecorded){ - $('#isMeetingRecorded').show(); - }else{ - $('#isMeetingRecorded').hide(); - } + }); @@ -32,5 +27,14 @@ {classNotStartedText}