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
887087d9
Commit
887087d9
authored
5 years ago
by
kevalbhatt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-3791:- New UI: In valid option are visible For _CLASSIFIED ,…
ATLAS-3791:- New UI: In valid option are visible For _CLASSIFIED , _NOT_CLASSIFIED, _ALL_CLASSIFICATION_TYPES
parent
e29abf12
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
SearchFilterBrowseLayoutView.js
...v3/public/js/views/search/SearchFilterBrowseLayoutView.js
+3
-0
ClassificationTreeLayoutView.js
...blic/js/views/search/tree/ClassificationTreeLayoutView.js
+12
-6
No files found.
dashboardv3/public/js/views/search/SearchFilterBrowseLayoutView.js
View file @
887087d9
...
@@ -201,6 +201,9 @@ define([
...
@@ -201,6 +201,9 @@ define([
if
(
options
)
{
if
(
options
)
{
_
.
extend
(
this
.
options
,
options
);
_
.
extend
(
this
.
options
,
options
);
this
.
showHideGlobalFilter
();
this
.
showHideGlobalFilter
();
if
(
!
this
.
options
.
value
){
this
.
ui
.
searchNode
.
val
(
''
).
trigger
(
'keyup'
);
}
if
(
this
.
RBusinessMetadataTreeRender
.
currentView
)
{
if
(
this
.
RBusinessMetadataTreeRender
.
currentView
)
{
this
.
RBusinessMetadataTreeRender
.
currentView
.
manualRender
(
this
.
options
);
this
.
RBusinessMetadataTreeRender
.
currentView
.
manualRender
(
this
.
options
);
}
}
...
...
This diff is collapsed.
Click to expand it.
dashboardv3/public/js/views/search/tree/ClassificationTreeLayoutView.js
View file @
887087d9
...
@@ -254,9 +254,14 @@ define([
...
@@ -254,9 +254,14 @@ define([
popoverOptions
:
{
popoverOptions
:
{
selector
:
'.classificationPopover'
,
selector
:
'.classificationPopover'
,
content
:
function
()
{
content
:
function
()
{
var
type
=
$
(
this
).
data
(
'detail'
),
var
name
=
this
.
dataset
.
name
||
null
,
liString
=
" <li><i class='fa fa-plus'></i><a href='javascript:void(0)' data-fn='onClickCreateTag'>Create Sub-classification</a></li><li><i class='fa fa-list-alt'></i><a href='javascript:void(0)' data-fn='onViewEdit'>View/Edit</a></li><li><i class='fa fa-trash-o'></i><a href='javascript:void(0)' data-fn='onDelete'>Delete</a></li><li><i class='fa fa-search'></i><a href='javascript:void(0)' data-fn='onSelectedSearch'>Search</a></li>"
searchString
=
"<li><i class='fa fa-search'></i><a href='javascript:void(0)' data-fn='onSelectedSearch'>Search</a></li>"
;
return
"<ul>"
+
liString
+
"</ul>"
;
if
(
name
&&
Enums
.
addOnClassification
.
includes
(
name
))
{
return
"<ul>"
+
searchString
+
"</ul>"
;
}
else
{
var
liString
=
" <li><i class='fa fa-plus'></i><a href='javascript:void(0)' data-fn='onClickCreateTag'>Create Sub-classification</a></li><li><i class='fa fa-list-alt'></i><a href='javascript:void(0)' data-fn='onViewEdit'>View/Edit</a></li><li><i class='fa fa-trash-o'></i><a href='javascript:void(0)' data-fn='onDelete'>Delete</a></li>"
;
return
"<ul>"
+
liString
+
searchString
+
"</ul>"
;
}
}
}
}
}
});
});
...
@@ -581,9 +586,10 @@ define([
...
@@ -581,9 +586,10 @@ define([
},
},
node_customize
:
{
node_customize
:
{
default
:
function
(
el
)
{
default
:
function
(
el
)
{
var
aTag
=
$
(
el
).
find
(
">a.jstree-anchor"
);
var
aTag
=
$
(
el
).
find
(
">a.jstree-anchor"
),
aTag
.
append
(
"<span class='tree-tooltip'>"
+
aTag
.
text
()
+
"</span>"
);
nameText
=
aTag
.
text
();
$
(
el
).
append
(
'<div class="tools"><i class="fa fa-ellipsis-h classificationPopover" rel="popover"></i></div>'
);
aTag
.
append
(
"<span class='tree-tooltip'>"
+
nameText
+
"</span>"
);
$
(
el
).
append
(
'<div class="tools"><i class="fa fa-ellipsis-h classificationPopover" rel="popover" data-name='
+
nameText
+
'></i></div>'
);
}
}
},
},
core
:
{
core
:
{
...
...
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