Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
Requirement Formalization Tool
Project
Project
Details
Activity
Releases
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
Thodoris Nestoridis
Requirement Formalization Tool
Commits
5b62f738
Commit
5b62f738
authored
Feb 24, 2021
by
Thodoris Nestoridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
32edaadd
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
4 deletions
+15
-4
boilerplate-details.component.ts
...ents/boilerplate-details/boilerplate-details.component.ts
+1
-2
boilerplate-list.component.ts
...components/boilerplate-list/boilerplate-list.component.ts
+1
-0
prefix-details.component.html
...p/components/prefix-details/prefix-details.component.html
+8
-0
prefix-list.component.ts
...1/src/app/components/prefix-list/prefix-list.component.ts
+4
-1
prefix.model.ts
reqtool/ReqmanAngular11/src/app/models/prefix.model.ts
+1
-1
No files found.
reqtool/ReqmanAngular11/src/app/components/boilerplate-details/boilerplate-details.component.ts
View file @
5b62f738
...
...
@@ -3,6 +3,7 @@ import { ActivatedRoute, Router } from '@angular/router';
import
{
Boilerplate
}
from
'src/app/models/boilerplate.model'
;
import
{
BoilerplateService
}
from
'src/app/services/boilerplate.service'
;
@
Component
({
selector
:
'app-boilerplate-details'
,
templateUrl
:
'./boilerplate-details.component.html'
,
...
...
@@ -10,7 +11,6 @@ import { BoilerplateService } from 'src/app/services/boilerplate.service';
})
export
class
BoilerplateDetailsComponent
implements
OnInit
{
currentboilerplate
:
Boilerplate
=
{
has_prefix
:
false
,
has_main
:
false
,
...
...
@@ -18,7 +18,6 @@ export class BoilerplateDetailsComponent implements OnInit {
};
message
=
''
;
constructor
(
private
boilerplateService
:
BoilerplateService
,
private
route
:
ActivatedRoute
,
...
...
reqtool/ReqmanAngular11/src/app/components/boilerplate-list/boilerplate-list.component.ts
View file @
5b62f738
...
...
@@ -3,6 +3,7 @@ import { Boilerplate } from 'src/app/models/boilerplate.model';
import
{
BoilerplateService
}
from
'src/app/services/boilerplate.service'
;
@
Component
({
selector
:
'app-boilerplate-list'
,
templateUrl
:
'./boilerplate-list.component.html'
,
...
...
reqtool/ReqmanAngular11/src/app/components/prefix-details/prefix-details.component.html
View file @
5b62f738
<app-prefix-list></app-prefix-list>
<form
class=
"form-group form-inline"
>
<mat-form-field
class=
"example-full-width"
>
<mat-label>
Prefix
</mat-label>
...
...
@@ -32,6 +33,13 @@
</mat-autocomplete>
</mat-form-field>
</form>
<button
type=
"submit"
class=
"badge badge-success mb-2"
(
click
)="
updatePrefix
()"
>
Update
</button>
<!--
...
...
reqtool/ReqmanAngular11/src/app/components/prefix-list/prefix-list.component.ts
View file @
5b62f738
...
...
@@ -25,14 +25,17 @@ export class PrefixListComponent implements OnInit {
//console.log("The boilerplate", this.route.snapshot.params.id);
}
getAllPrefix
(
id
:
string
):
void
{
this
.
prefixService
.
getAll
(
id
)
.
subscribe
(
data
=>
{
PrefixDetailsComponent
.
id
.
length
=
0
;
this
.
prefixs
=
data
;
//console.log(data);
for
(
var
val
of
data
)
{
this
.
prefixDetails
.
getPrefix
(
id
,
val
.
id
);
//this.prefixDetails.getPrefix(id, val.id);
PrefixDetailsComponent
.
id
.
push
(
val
.
id
);
}
},
error
=>
{
...
...
reqtool/ReqmanAngular11/src/app/models/prefix.model.ts
View file @
5b62f738
export
class
Prefix
{
id
?:
any
;
prefix_group
?:
any
;
prefix_boilerplate
?:
any
;
prefix_group
?:
any
;
prefix
?:
string
;
system_fun_item
?:
string
;
state_or_verb
?:
string
;
...
...
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