-
Notifications
You must be signed in to change notification settings - Fork 20
recording visible to user #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,12 +16,7 @@ | |
| $('#classNotStarted').show(); | ||
| } | ||
|
|
||
| var isMeetingRecorded={isMeetingRecorded}; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why did u remove this?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh yes i forgot it the current meeting recording hint should be as it was before.By mistakenly in testing i removed it. |
||
| if(isMeetingRecorded){ | ||
| $('#isMeetingRecorded').show(); | ||
| }else{ | ||
| $('#isMeetingRecorded').hide(); | ||
| } | ||
|
|
||
|
|
||
| }); | ||
| </script> | ||
|
|
@@ -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> | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should refactor the whole part. This is only copied fromt he "moderator" section. But in the moderator section, it will be checked, if int he currect BBB object recordings are allowed. This check is missing in your changed.
See:
BigBlueButton-Ilias-Plugin/classes/class.ilObjBigBlueButtonGUI.php
Lines 351 to 358 in 8fba2f4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes in the moderator section, it will be checked, if the current BBB object recordings are allowed. This check is missing in changes because user can't allow for it.Only moderator or admins can allow for the changes to that checkbox if they record Current BBB object or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that's right. But it also controls if the recordings ui is visible or no. With your change, users can see the recording ui when recordings in the bbb object are disallowed. So i think is should be checked if recordings are allowed.