added preview messages (#2208)

This commit is contained in:
Aditya Bist
2018-08-20 12:01:29 -07:00
committed by Karl Burtram
parent 92bc253cf7
commit efa3658ced
3 changed files with 34 additions and 1 deletions

View File

@@ -367,11 +367,18 @@ export class AlertDialog extends AgentDialog<AlertData> {
title: AlertDialog.NewJobButtonLabel
}], { componentWidth: '100%'}).component();
let previewTag = view.modelBuilder.text()
.withProperties({
value: 'Feature Preview'
}).component();
this.notifyOperatorsCheckBox = view.modelBuilder.checkBox()
.withProperties({
label: AlertDialog.NotifyOperatorsTextBoxLabel
}).component();
this.notifyOperatorsCheckBox.enabled = false;
this.operatorsTable = view.modelBuilder.table()
.withProperties({
columns: [
@@ -423,6 +430,9 @@ export class AlertDialog extends AgentDialog<AlertData> {
}, {
component: executeJobContainer,
title: ''
}, {
component: previewTag,
title: ''
}, {
component: this.notifyOperatorsCheckBox,
title: ''