Skip to content

Commit

Permalink
recording visible to user
Browse files Browse the repository at this point in the history
  • Loading branch information
pooja418 committed Sep 6, 2022
1 parent 8de843b commit 8fba2f4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
11 changes: 8 additions & 3 deletions classes/class.ilObjBigBlueButtonGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down
16 changes: 10 additions & 6 deletions templates/tpl.BigBlueButtonClient.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@
$('#classNotStarted').show();
}

var isMeetingRecorded={isMeetingRecorded};
if(isMeetingRecorded){
$('#isMeetingRecorded').show();
}else{
$('#isMeetingRecorded').hide();
}


});
</script>
Expand All @@ -32,5 +27,14 @@
{classNotStartedText}
</div>
<div id="isMeetingRecorded">{meetingRecordedMessage}</div>
<div id="recordings">
<h1><span>{Headline_Recordings}</span></h1>
<div>{recordings}</div>
</div>
<style>
.dropup, .dropdown{
visibility: hidden;
}
</style>


0 comments on commit 8fba2f4

Please sign in to comment.