mirror of https://github.com/OpenVidu/openvidu.git
ov-components: Enhance recording activity component: update view recordings button visibility based on recording status and improve toolbar button text for active recording state
parent
fe3f90d266
commit
fce026766b
|
@ -152,7 +152,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
<!-- View all recordings button -->
|
<!-- View all recordings button -->
|
||||||
@if (showViewRecordingsButton) {
|
@if (showViewRecordingsButton && recordingStatus !== recStatusEnum.FAILED) {
|
||||||
<div class="item recording-action-buttons">
|
<div class="item recording-action-buttons">
|
||||||
<button
|
<button
|
||||||
mat-flat-button
|
mat-flat-button
|
||||||
|
|
|
@ -500,6 +500,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: var(--ov-accent-action-color);
|
background-color: var(--ov-accent-action-color);
|
||||||
color: var(--ov-secondary-action-color);
|
color: var(--ov-secondary-action-color);
|
||||||
|
border-radius: var(--ov-surface-radius);
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|
||||||
mat-icon {
|
mat-icon {
|
||||||
|
|
|
@ -144,7 +144,7 @@
|
||||||
{{ 'TOOLBAR.START_RECORDING' | translate }}
|
{{ 'TOOLBAR.START_RECORDING' | translate }}
|
||||||
</span>
|
</span>
|
||||||
} @else if (recordingStatus === _recordingStatus.STARTED || recordingStatus === _recordingStatus.STARTING) {
|
} @else if (recordingStatus === _recordingStatus.STARTED || recordingStatus === _recordingStatus.STARTING) {
|
||||||
<span>{{ 'TOOLBAR.RECORDING' | translate }}</span>
|
<span>{{ 'TOOLBAR.STOP_RECORDING' | translate }}</span>
|
||||||
}
|
}
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue