@@ -249,8 +249,8 @@ const WarningDisplay = withTranslation()(
249249 return (
250250 < ModalDialog
251251 title = { t ( 'Start time is close' ) }
252- acceptText = { t ( 'Yes ' ) }
253- secondaryText = { t ( 'No ' ) }
252+ acceptText = { t ( 'Activate "On Air" ' ) }
253+ secondaryText = { t ( 'Cancel ' ) }
254254 onAccept = { this . oneMinuteBeforeAction }
255255 onDiscard = { this . discard }
256256 onSecondary = { this . discard }
@@ -638,6 +638,7 @@ const RundownHeader = withTranslation()(
638638 ) ,
639639 yes : t ( 'Activate "On Air"' ) ,
640640 no : t ( 'Cancel' ) ,
641+ discardAsPrimary : true ,
641642 actions : [
642643 {
643644 label : t ( 'Activate "Rehearsal"' ) ,
@@ -724,9 +725,19 @@ const RundownHeader = withTranslation()(
724725 doModalDialog ( {
725726 title : 'Activate "On Air"' ,
726727 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 ,
728740 onAccept : ( ) => {
729- this . rewindSegments ( )
730741 doUserAction (
731742 t ,
732743 e ,
@@ -754,6 +765,7 @@ const RundownHeader = withTranslation()(
754765 title : 'Activate "On Air"' ,
755766 message : t ( 'The planned end time has passed, are you sure you want to activate this Rundown?' ) ,
756767 yes : 'Reset and Activate "On Air"' ,
768+ no : t ( 'Cancel' ) ,
757769 actions : [
758770 {
759771 label : 'Activate "On Air"' ,
@@ -826,6 +838,7 @@ const RundownHeader = withTranslation()(
826838 title : 'Activate "Rehearsal"' ,
827839 message : t ( 'Are you sure you want to activate Rehearsal Mode?' ) ,
828840 yes : 'Activate "Rehearsal"' ,
841+ no : t ( 'Cancel' ) ,
829842 onAccept : ( ) => {
830843 doActivateRehersal ( )
831844 } ,
@@ -841,6 +854,7 @@ const RundownHeader = withTranslation()(
841854 title : 'Activate "Rehearsal"' ,
842855 message : t ( 'Are you sure you want to activate Rehearsal Mode?' ) ,
843856 yes : 'Activate "Rehearsal"' ,
857+ no : t ( 'Cancel' ) ,
844858 onAccept : ( ) => {
845859 doActivateRehersal ( )
846860 } ,
0 commit comments