@@ -249,8 +249,8 @@ const WarningDisplay = withTranslation()(
249
249
return (
250
250
< ModalDialog
251
251
title = { t ( 'Start time is close' ) }
252
- acceptText = { t ( 'Yes ' ) }
253
- secondaryText = { t ( 'No ' ) }
252
+ acceptText = { t ( 'Activate "On Air" ' ) }
253
+ secondaryText = { t ( 'Cancel ' ) }
254
254
onAccept = { this . oneMinuteBeforeAction }
255
255
onDiscard = { this . discard }
256
256
onSecondary = { this . discard }
@@ -638,6 +638,7 @@ const RundownHeader = withTranslation()(
638
638
) ,
639
639
yes : t ( 'Activate "On Air"' ) ,
640
640
no : t ( 'Cancel' ) ,
641
+ discardAsPrimary : true ,
641
642
actions : [
642
643
{
643
644
label : t ( 'Activate "Rehearsal"' ) ,
@@ -724,9 +725,19 @@ const RundownHeader = withTranslation()(
724
725
doModalDialog ( {
725
726
title : 'Activate "On Air"' ,
726
727
message : t ( 'Do you want to activate this Rundown?' ) ,
727
- yes : 'Activate "On Air"' ,
728
+ yes : 'Reset and Activate "On Air"' ,
729
+ no : t ( 'Cancel' ) ,
730
+ actions : [
731
+ {
732
+ label : 'Activate "On Air"' ,
733
+ classNames : 'btn-secondary' ,
734
+ on : ( ) => {
735
+ doActivate ( ) // this one activates without resetting
736
+ } ,
737
+ } ,
738
+ ] ,
739
+ acceptOnly : false ,
728
740
onAccept : ( ) => {
729
- this . rewindSegments ( )
730
741
doUserAction (
731
742
t ,
732
743
e ,
@@ -754,6 +765,7 @@ const RundownHeader = withTranslation()(
754
765
title : 'Activate "On Air"' ,
755
766
message : t ( 'The planned end time has passed, are you sure you want to activate this Rundown?' ) ,
756
767
yes : 'Reset and Activate "On Air"' ,
768
+ no : t ( 'Cancel' ) ,
757
769
actions : [
758
770
{
759
771
label : 'Activate "On Air"' ,
@@ -826,6 +838,7 @@ const RundownHeader = withTranslation()(
826
838
title : 'Activate "Rehearsal"' ,
827
839
message : t ( 'Are you sure you want to activate Rehearsal Mode?' ) ,
828
840
yes : 'Activate "Rehearsal"' ,
841
+ no : t ( 'Cancel' ) ,
829
842
onAccept : ( ) => {
830
843
doActivateRehersal ( )
831
844
} ,
@@ -841,6 +854,7 @@ const RundownHeader = withTranslation()(
841
854
title : 'Activate "Rehearsal"' ,
842
855
message : t ( 'Are you sure you want to activate Rehearsal Mode?' ) ,
843
856
yes : 'Activate "Rehearsal"' ,
857
+ no : t ( 'Cancel' ) ,
844
858
onAccept : ( ) => {
845
859
doActivateRehersal ( )
846
860
} ,
0 commit comments