|
|
@@ -148,32 +148,28 @@ class LocalRecordingInfoDialog extends Component<Props, State> {
|
|
148
|
148
|
const { isModerator, t } = this.props;
|
|
149
|
149
|
|
|
150
|
150
|
return (
|
|
151
|
|
- <div
|
|
152
|
|
- className = 'info-dialog' >
|
|
153
|
|
- <div className = 'info-dialog-column'>
|
|
154
|
|
- <h4 className = 'info-dialog-icon'>
|
|
155
|
|
- <i className = 'icon-info' />
|
|
156
|
|
- </h4>
|
|
157
|
|
- </div>
|
|
158
|
|
- <div className = 'info-dialog-column'>
|
|
159
|
|
- <div className = 'info-dialog-title'>
|
|
160
|
|
- { t('localRecording.localRecording') }
|
|
161
|
|
- </div>
|
|
162
|
|
- <div>
|
|
163
|
|
- <span className = 'info-label'>
|
|
164
|
|
- {`${t('localRecording.moderator')}:`}
|
|
165
|
|
- </span>
|
|
166
|
|
- <span className = 'spacer'> </span>
|
|
167
|
|
- <span className = 'info-value'>
|
|
168
|
|
- { isModerator
|
|
169
|
|
- ? t('localRecording.yes')
|
|
170
|
|
- : t('localRecording.no') }
|
|
171
|
|
- </span>
|
|
|
151
|
+ <Dialog
|
|
|
152
|
+ cancelTitleKey = { 'dialog.close' }
|
|
|
153
|
+ submitDisabled = { true }
|
|
|
154
|
+ titleKey = 'localRecording.dialogTitle'>
|
|
|
155
|
+ <div className = 'info-dialog'>
|
|
|
156
|
+ <div className = 'info-dialog-column'>
|
|
|
157
|
+ <div>
|
|
|
158
|
+ <span className = 'info-label'>
|
|
|
159
|
+ {`${t('localRecording.moderator')}:`}
|
|
|
160
|
+ </span>
|
|
|
161
|
+ <span className = 'spacer'> </span>
|
|
|
162
|
+ <span className = 'info-value'>
|
|
|
163
|
+ { isModerator
|
|
|
164
|
+ ? t('localRecording.yes')
|
|
|
165
|
+ : t('localRecording.no') }
|
|
|
166
|
+ </span>
|
|
|
167
|
+ </div>
|
|
|
168
|
+ { this._renderDurationAndFormat() }
|
|
|
169
|
+ { this._renderModeratorControls() }
|
|
172
|
170
|
</div>
|
|
173
|
|
- { this._renderDurationAndFormat() }
|
|
174
|
|
- { this._renderModeratorControls() }
|
|
175
|
171
|
</div>
|
|
176
|
|
- </div>
|
|
|
172
|
+ </Dialog>
|
|
177
|
173
|
);
|
|
178
|
174
|
}
|
|
179
|
175
|
|
|
|
@@ -280,32 +276,27 @@ class LocalRecordingInfoDialog extends Component<Props, State> {
|
|
280
|
276
|
}
|
|
281
|
277
|
|
|
282
|
278
|
return (
|
|
283
|
|
- <Dialog
|
|
284
|
|
- cancelTitleKey = { 'dialog.close' }
|
|
285
|
|
- submitDisabled = { true }
|
|
286
|
|
- titleKey = 'localRecording.dialogTitle'>
|
|
287
|
|
- <div className = 'local-recording'>
|
|
288
|
|
- <div>
|
|
289
|
|
- <span className = 'info-label'>
|
|
290
|
|
- {`${t('localRecording.participantStats')}:`}
|
|
291
|
|
- </span>
|
|
292
|
|
- </div>
|
|
293
|
|
- { this._renderStats() }
|
|
294
|
|
- <div className = 'info-dialog-action-links'>
|
|
295
|
|
- <div className = 'info-dialog-action-link'>
|
|
296
|
|
- { isEngaged ? <a
|
|
297
|
|
- onClick = { this._onStop }>
|
|
298
|
|
- { t('localRecording.stop') }
|
|
|
279
|
+ <div>
|
|
|
280
|
+ <div>
|
|
|
281
|
+ <span className = 'info-label'>
|
|
|
282
|
+ {`${t('localRecording.participantStats')}:`}
|
|
|
283
|
+ </span>
|
|
|
284
|
+ </div>
|
|
|
285
|
+ { this._renderStats() }
|
|
|
286
|
+ <div className = 'info-dialog-action-links'>
|
|
|
287
|
+ <div className = 'info-dialog-action-link'>
|
|
|
288
|
+ { isEngaged ? <a
|
|
|
289
|
+ onClick = { this._onStop }>
|
|
|
290
|
+ { t('localRecording.stop') }
|
|
|
291
|
+ </a>
|
|
|
292
|
+ : <a
|
|
|
293
|
+ onClick = { this._onStart }>
|
|
|
294
|
+ { t('localRecording.start') }
|
|
299
|
295
|
</a>
|
|
300
|
|
- : <a
|
|
301
|
|
- onClick = { this._onStart }>
|
|
302
|
|
- { t('localRecording.start') }
|
|
303
|
|
- </a>
|
|
304
|
|
- }
|
|
305
|
|
- </div>
|
|
|
296
|
+ }
|
|
306
|
297
|
</div>
|
|
307
|
298
|
</div>
|
|
308
|
|
- </Dialog>
|
|
|
299
|
+ </div>
|
|
309
|
300
|
);
|
|
310
|
301
|
}
|
|
311
|
302
|
|