Commit 2176844d authored by Lukas Burgey's avatar Lukas Burgey

Display ssh key information credential dialog

parent d29b0834
<div class="mat-typography">
<h2>Credentials</h2>
<p>
You can access the service {{ service.name }} at {{ service.site[0].name }} using one of your credentials.
For access to the service {{ service.name }} at {{ service.site[0].name }} additional credentials are needed.
The additional credentials are listed below.
</p>
<div *ngIf="credentialCount > 0">
<p>
Additional information about accessing the service is displayed below.
</p>
<div *ngIf="credentialCount > 0" style="margin-bottom: 50px;">
<mat-table [dataSource]="table">
<ng-container matColumnDef="name">
<mat-header-cell *matHeaderCellDef>Name</mat-header-cell>
......@@ -20,4 +18,15 @@
<mat-row *matRowDef="let row; columns: columns;"></mat-row>
</mat-table>
</div>
<h2>Key Information</h2>
<p>
The following ssh keys of yours can be used for accessing this service:
</p>
<div>
<ng-container *ngFor="let state of stateItem.credential_states">
<p *ngIf="state.state == 'deployed'">
{{ state.credential.name }}
</p>
</ng-container>
</div>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment