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
db0d3f9b
Commit
db0d3f9b
authored
Jun 03, 2016
by
Kalyani Kashikar
Committed by
Suma Shivaprasad
Jun 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ATLAS-793 Business Catalog Delete / ATLAS-845 : Atlas UI to delete terms using API
parent
86494ffd
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
79 additions
and
34 deletions
+79
-34
VCatalog.js
dashboardv2/public/js/models/VCatalog.js
+8
-0
AddTermView_tmpl.html
...ublic/js/templates/business_catalog/AddTermView_tmpl.html
+1
-1
AddTagAttributeView_tmpl.html
...dv2/public/js/templates/tag/AddTagAttributeView_tmpl.html
+1
-1
createTagLayoutView_tmpl.html
...dv2/public/js/templates/tag/createTagLayoutView_tmpl.html
+1
-1
BusinessCatalogLayoutView.js
...ic/js/views/business_catalog/BusinessCatalogLayoutView.js
+68
-31
No files found.
dashboardv2/public/js/models/VCatalog.js
View file @
db0d3f9b
...
...
@@ -37,6 +37,14 @@ define(['require',
toString
:
function
()
{
return
this
.
get
(
'name'
);
},
deleteTerm
:
function
(
termURL
,
options
)
{
var
url
=
Globals
.
baseURL
+
termURL
;
options
=
_
.
extend
({
contentType
:
'application/json'
,
dataType
:
'json'
},
options
);
return
this
.
constructor
.
nonCrudOperation
.
call
(
this
,
url
,
'DELETE'
,
options
);
}
},
{});
return
VCatalog
;
});
dashboardv2/public/js/templates/business_catalog/AddTermView_tmpl.html
View file @
db0d3f9b
...
...
@@ -17,7 +17,7 @@
<form
name=
"tagDefinitionform"
class=
"css-form"
onsubmit=
"return false;"
>
<!-- <h4 style="margin-bottom:30px">Add Term</h4> -->
<div
class=
"form-group"
>
<input
class=
"form-control"
data-id=
"termName"
placeholder=
"Add subterm"
>
<input
class=
"form-control"
data-id=
"termName"
placeholder=
"Add subterm"
autofocus
>
</div>
<div
class=
"form-group"
>
<textarea
class=
"form-control"
data-id=
"termDetail"
placeholder=
"Description"
></textarea>
...
...
dashboardv2/public/js/templates/tag/AddTagAttributeView_tmpl.html
View file @
db0d3f9b
...
...
@@ -17,7 +17,7 @@
<div
class=
"row row-margin-bottom"
>
<div
class=
"col-sm-12"
>
<div
class=
"form-group"
>
<input
type=
"text"
class=
"form-control row-margin-top"
name=
"name"
data-id=
"attributeId"
placeholder=
"Attribute name"
required=
""
value=
{{name}}
>
<input
type=
"text"
class=
"form-control row-margin-top"
name=
"name"
data-id=
"attributeId"
autofocus
placeholder=
"Attribute name"
required=
""
value=
{{name}}
>
</div>
</div>
</div>
dashboardv2/public/js/templates/tag/createTagLayoutView_tmpl.html
View file @
db0d3f9b
...
...
@@ -17,7 +17,7 @@
<form
name=
"tagDefinitionform"
class=
"css-form"
>
<!-- <h4 style="margin-bottom:30px"></h4> -->
<div
class=
"form-group"
>
<input
class=
"form-control row-margin-bottom"
data-id=
"tagName"
placeholder=
"Name(required)"
>
<input
class=
"form-control row-margin-bottom"
data-id=
"tagName"
placeholder=
"Name(required)"
autofocus
>
</input>
<input
class=
"form-control row-margin-bottom"
data-id=
"description"
placeholder=
"Description"
>
</input>
...
...
dashboardv2/public/js/views/business_catalog/BusinessCatalogLayoutView.js
View file @
db0d3f9b
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