Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
feudalWebpage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
feudal
feudalWebpage
Commits
ab93a051
Commit
ab93a051
authored
Dec 16, 2018
by
Lukas Burgey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add minor tweaks to the credential dialogue
parent
38964bf1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
src/app/dialogues/credentials/credentials.component.html
src/app/dialogues/credentials/credentials.component.html
+5
-5
src/app/dialogues/credentials/credentials.component.ts
src/app/dialogues/credentials/credentials.component.ts
+0
-3
No files found.
src/app/dialogues/credentials/credentials.component.html
View file @
ab93a051
<div
*ngIf=
"(stateItem$ | async) as stateItem"
class=
"mat-typography"
>
<h2>
Credentials
</h2>
<p>
For access to the service {{ stateItem.service?.name }} at {{ stateItem.service?.site?.name }} additional credentials are needed.
The additional credentials are listed below.
</p>
<div
*ngIf=
"credentialCount > 0"
style=
"margin-bottom: 50px;"
>
<h2>
Credentials
</h2>
<p>
For access to the service {{ stateItem.service.name }} at {{ stateItem.service.site.name }} additional credentials are needed.
The additional credentials are listed below.
</p>
<mat-table
[dataSource]=
"table"
>
<ng-container
matColumnDef=
"name"
>
<mat-header-cell
*matHeaderCellDef
>
Name
</mat-header-cell>
...
...
src/app/dialogues/credentials/credentials.component.ts
View file @
ab93a051
...
...
@@ -16,7 +16,6 @@ export class CredentialsComponent implements OnInit {
public
columns
=
[
"
name
"
,
"
value
"
];
public
stateItem$
:
Observable
<
DeploymentState
>
;
public
service
:
Service
;
public
credentialCount
:
number
=
0
;
public
table
:
MatTableDataSource
<
any
>
;
...
...
@@ -34,8 +33,6 @@ export class CredentialsComponent implements OnInit {
if
(
this
.
stateItem$
)
{
this
.
stateItem$
.
subscribe
(
(
stateItem
:
DeploymentState
)
=>
{
this
.
service
=
stateItem
.
service
;
const
credentialList
=
[];
for
(
const
key
in
stateItem
.
credentials
)
{
if
(
stateItem
.
credentials
.
hasOwnProperty
(
key
))
{
...
...
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