Repository: atlas Updated Branches: refs/heads/master eaf067bc1 -> 65338c4de
ATLAS-2706: UI : Change the labels of propagation classification popup Signed-off-by: Madhan Neethiraj <mad...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/02659550 Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/02659550 Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/02659550 Branch: refs/heads/master Commit: 026595501fc3de37f3993d4bb9c0e52f0f23c8d9 Parents: eaf067b Author: kevalbhatt <kbh...@apache.org> Authored: Mon May 21 12:43:29 2018 +0530 Committer: Madhan Neethiraj <mad...@apache.org> Committed: Mon May 21 07:02:38 2018 -0700 ---------------------------------------------------------------------- .../templates/graph/PropagationPropertyModalView_tmpl.html | 4 ++-- .../public/js/views/graph/PropagationPropertyModal.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/02659550/dashboardv2/public/js/templates/graph/PropagationPropertyModalView_tmpl.html ---------------------------------------------------------------------- diff --git a/dashboardv2/public/js/templates/graph/PropagationPropertyModalView_tmpl.html b/dashboardv2/public/js/templates/graph/PropagationPropertyModalView_tmpl.html index 6aae481..7dc4850 100644 --- a/dashboardv2/public/js/templates/graph/PropagationPropertyModalView_tmpl.html +++ b/dashboardv2/public/js/templates/graph/PropagationPropertyModalView_tmpl.html @@ -18,12 +18,12 @@ <div class="col-sm-12"> <div class="row"> <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"> <input type="checkbox" class="switch-input" name="editPropagationType" value="text"> <span class="switch-slider"></span> </label> - <span class="pull-left">Block propagation</span> + <span class="pull-left">Select Classifications to Block Propagation</span> </div> </div> <hr style="margin-top: 0px;"> http://git-wip-us.apache.org/repos/asf/atlas/blob/02659550/dashboardv2/public/js/views/graph/PropagationPropertyModal.js ---------------------------------------------------------------------- diff --git a/dashboardv2/public/js/views/graph/PropagationPropertyModal.js b/dashboardv2/public/js/views/graph/PropagationPropertyModal.js index 5972ea8..9aef264 100644 --- a/dashboardv2/public/js/views/graph/PropagationPropertyModal.js +++ b/dashboardv2/public/js/views/graph/PropagationPropertyModal.js @@ -124,7 +124,7 @@ define(['require', this.viewType = 'flow'; var that = this, modalObj = { - title: 'Edit Propagation Flow', + title: 'Enable/Disable Propagation', content: this, okText: 'Update', okCloses: false, @@ -301,7 +301,7 @@ define(['require', 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); }, @@ -333,12 +333,12 @@ define(['require', showEditPropagation: function() { this.$('.editPropagation').show(); 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() { this.$('.editPropagation').hide(); 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"); } });