Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
cf64a03e
Commit
cf64a03e
authored
7 years ago
by
Kalyani
Committed by
nixonrodrigues
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-1759 : UI - Add checkbox to exclude/include deleted entities in schema table.
Signed-off-by:
nixonrodrigues
<
nixon@apache.org
>
parent
d7a139e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
SchemaLayoutView.js
dashboardv2/public/js/views/schema/SchemaLayoutView.js
+3
-3
No files found.
dashboardv2/public/js/views/schema/SchemaLayoutView.js
View file @
cf64a03e
...
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment