atlas-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject [2/2] incubator-atlas git commit: ATLAS-1759 : UI - Add checkbox to exclude/include deleted entities in schema table.
Date Tue, 16 May 2017 13:12:26 GMT
ATLAS-1759 : UI - Add checkbox to exclude/include deleted entities in schema table.

Signed-off-by: nixonrodrigues <nixon@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/034f2928
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/034f2928
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/034f2928

Branch: refs/heads/0.8-incubating
Commit: 034f29283c45925df3e6f2516cacdefd86d1fc63
Parents: 08d2d26
Author: Kalyani <kalyani.kashikar@freestoneinfotech.com>
Authored: Tue May 16 15:18:51 2017 +0530
Committer: nixonrodrigues <nixon@apache.org>
Committed: Tue May 16 18:41:26 2017 +0530

----------------------------------------------------------------------
 dashboardv2/public/js/views/schema/SchemaLayoutView.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/034f2928/dashboardv2/public/js/views/schema/SchemaLayoutView.js
----------------------------------------------------------------------
diff --git a/dashboardv2/public/js/views/schema/SchemaLayoutView.js b/dashboardv2/public/js/views/schema/SchemaLayoutView.js
index 60c2a6b..d069c44 100644
--- a/dashboardv2/public/js/views/schema/SchemaLayoutView.js
+++ b/dashboardv2/public/js/views/schema/SchemaLayoutView.js
@@ -203,7 +203,7 @@ define(['require',
                 this.$('.fontLoader').hide();
                 this.$('.tableOverlay').hide();
             },
-            renderTableLayoutView: function(deleteEnity) {
+            renderTableLayoutView: function() {
                 var that = this;
                 require(['utils/TableLayout'], function(TableLayout) {
                     var columnCollection = Backgrid.Columns.extend({
@@ -227,7 +227,7 @@ define(['require',
                         //     return this;
                         // }
                     });
-                    var columns = new columnCollection(that.getSchemaTableColumns(deleteEnity));
+                    var columns = new columnCollection(that.getSchemaTableColumns());
                     //columns.setPositions().sort();
                     that.RSchemaTableLayoutView.show(new TableLayout(_.extend({}, that.commonTableOptions,
{
                         columns: columns
@@ -270,7 +270,7 @@ define(['require',
                                         var value = model.get('attributes')[key];
                                         if (key === "name" && model.get('guid'))
{
                                             var nameHtml = '<a href="#!/detailPage/' +
model.get('guid') + '">' + value + '</a>';
-                                            if (model.get('status') && Enums.entityStateReadOnly[model.get('status')]
&& deleteEnity) {
+                                            if (model.get('status') && Enums.entityStateReadOnly[model.get('status')])
{
                                                 nameHtml += '<button type="button" title="Deleted"
class="btn btn-atlasAction btn-atlas deleteBtn"><i class="fa fa-trash"></i></button>';
                                                 return '<div class="readOnly readOnlyLink">'
+ nameHtml + '</div>';
                                             } else {


Mime
View raw message