mirror of https://github.com/sualko/cloud_bbb
parent
858753022b
commit
a8591150de
|
@ -132,7 +132,7 @@ const EditRoomDialog: React.FC<Props> = ({ room, restriction, updateProperty, op
|
||||||
|
|
||||||
{room.access === Access.InternalRestricted &&
|
{room.access === Access.InternalRestricted &&
|
||||||
<div className="bbb-form-element bbb-form-shareWith">
|
<div className="bbb-form-element bbb-form-shareWith">
|
||||||
<span className="icon icon-details icon-visible"></span><em>{`${t('bbb', 'Access')} : ${descriptions.internalRestrictedShareWith}`}</em>
|
<span className="icon icon-details icon-visible"></span><em>{t('bbb', 'Access') + ' : ' + descriptions.internalRestrictedShareWith}</em>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,12 +16,12 @@ const RecordingRow: React.FC<Props> = ({recording, isAdmin, deleteRecording, sto
|
||||||
function checkPublished(recording: Recording, onChange: (value: boolean) => void) {
|
function checkPublished(recording: Recording, onChange: (value: boolean) => void) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<input id={`bbb-record-state-${recording.id}`}
|
<input id={'bbb-record-state-' + recording.id}
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
className="checkbox"
|
className="checkbox"
|
||||||
checked={recording.state === 'published'}
|
checked={recording.state === 'published'}
|
||||||
onChange={(event) => onChange(event.target.checked)} />
|
onChange={(event) => onChange(event.target.checked)} />
|
||||||
<label htmlFor={`bbb-record-state-${recording.id}`}>{t('bbb', 'Published')}</label>
|
<label htmlFor={'bbb-record-state-' + recording.id}>{t('bbb', 'Published')}</label>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -107,7 +107,7 @@ const ShareWith: React.FC<Props> = ({ room, permission, shares: allShares, setSh
|
||||||
</div>
|
</div>
|
||||||
<div className="bbb-shareWith__item__label">
|
<div className="bbb-shareWith__item__label">
|
||||||
<h5>{displayName}
|
<h5>{displayName}
|
||||||
{(share.id === ROOM_OWNER_ID || !isOwner) && ` (${permissionLabel(share.permission)})`}
|
{(share.id === ROOM_OWNER_ID || !isOwner) && (' (' + permissionLabel(share.permission) + ')')}
|
||||||
</h5>
|
</h5>
|
||||||
</div>
|
</div>
|
||||||
{(share.id > ROOM_OWNER_ID && isOwner) && selectPermission(share.permission, (value) => {
|
{(share.id > ROOM_OWNER_ID && isOwner) && selectPermission(share.permission, (value) => {
|
||||||
|
|
Loading…
Reference in New Issue