Commit 02659550 by kevalbhatt Committed by Madhan Neethiraj

ATLAS-2706: UI : Change the labels of propagation classification popup

parent eaf067bc
...@@ -18,12 +18,12 @@ ...@@ -18,12 +18,12 @@
<div class="col-sm-12"> <div class="col-sm-12">
<div class="row"> <div class="row">
<div class="col-sm-9" style="margin-top: 5px;"> <div class="col-sm-9" style="margin-top: 5px;">
<span class="pull-left">Propagation flow</span> <span class="pull-left">Enable/Disable Propagation</span>
<label class="switch pull-left"> <label class="switch pull-left">
<input type="checkbox" class="switch-input" name="editPropagationType" value="text"> <input type="checkbox" class="switch-input" name="editPropagationType" value="text">
<span class="switch-slider"></span> <span class="switch-slider"></span>
</label> </label>
<span class="pull-left">Block propagation</span> <span class="pull-left">Select Classifications to Block Propagation</span>
</div> </div>
</div> </div>
<hr style="margin-top: 0px;"> <hr style="margin-top: 0px;">
......
...@@ -124,7 +124,7 @@ define(['require', ...@@ -124,7 +124,7 @@ define(['require',
this.viewType = 'flow'; this.viewType = 'flow';
var that = this, var that = this,
modalObj = { modalObj = {
title: 'Edit Propagation Flow', title: 'Enable/Disable Propagation',
content: this, content: this,
okText: 'Update', okText: 'Update',
okCloses: false, okCloses: false,
...@@ -301,7 +301,7 @@ define(['require', ...@@ -301,7 +301,7 @@ define(['require',
propagationStringValue += getTableRow({ "val": val, fromBlockClassification: false }); propagationStringValue += getTableRow({ "val": val, fromBlockClassification: false });
}); });
classificationTableValue = "<table class='attriTable'><caption>Block Propagatation Table</caption><tr><th class='w30'>Classification</th><th>Entity Name</th><th class='w30'>Block Propagatation</th>" + propagationStringValue + "</table>"; classificationTableValue = "<table class='attriTable'><tr><th class='w30'>Classification</th><th>Entity Name</th><th class='w30'>Block Propagatation</th>" + propagationStringValue + "</table>";
this.ui.PropagatedClassificationTable.append(_.isEmpty(propagationStringValue) ? "No Records Found." : classificationTableValue); this.ui.PropagatedClassificationTable.append(_.isEmpty(propagationStringValue) ? "No Records Found." : classificationTableValue);
}, },
...@@ -333,12 +333,12 @@ define(['require', ...@@ -333,12 +333,12 @@ define(['require',
showEditPropagation: function() { showEditPropagation: function() {
this.$('.editPropagation').show(); this.$('.editPropagation').show();
this.$('.propagatedClassificationTable').hide(); this.$('.propagatedClassificationTable').hide();
this.modal.$el.find('.modal-title').text("Edit Propagation Flow"); this.modal.$el.find('.modal-title').text("Enable/Disable Propagation");
}, },
showPropagatedClassificationTable: function() { showPropagatedClassificationTable: function() {
this.$('.editPropagation').hide(); this.$('.editPropagation').hide();
this.$('.propagatedClassificationTable').show(); this.$('.propagatedClassificationTable').show();
this.modal.$el.find('.modal-title').text("Block Propagation Table"); this.modal.$el.find('.modal-title').text("Select Classifications to Block Propagation");
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment