atlas-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject [1/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:25 GMT
Repository: incubator-atlas
Updated Branches:
  refs/heads/0.8-incubating 08d2d26fd -> 034f29283
  refs/heads/master d7a139e11 -> cf64a03e0


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/cf64a03e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/cf64a03e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/cf64a03e

Branch: refs/heads/master
Commit: cf64a03e05c64ce25777bd478d4dda888f3e6a9c
Parents: d7a139e
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:39:36 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/cf64a03e/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