-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
marketplace: cf endpoint on card when multiple cf connected
When multiple CF were connected the user could end up with multiple services with the same name without being able to identify the source of that. Now when multiple CF endpoints are connected a CF endpoint is shown on each service card so the user can identify where it comes from. Signed-off-by: Vítor Avelino <vavelino@suse.com>
- Loading branch information
Vítor Avelino
committed
May 2, 2019
1 parent
98ec379
commit 571dc55
Showing
4 changed files
with
65 additions
and
9 deletions.
There are no files selected for viewing
12 changes: 9 additions & 3 deletions
12
.../packages/core/src/shared/components/cf-org-space-links/cf-org-space-links.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
<ng-container *ngIf="service?.multipleConnectedEndpoints$ | async"> | ||
<a [routerLink]="service?.getCfURL()">{{ service?.getCfName() | async }}</a> / | ||
<a [routerLink]="service?.getCfURL()">{{ service?.getCfName() | async }}</a> | ||
<span *ngIf="service?.getOrgName() | async"> / </span> | ||
</ng-container> | ||
<a [routerLink]="service?.getOrgURL()">{{ service?.getOrgName() | async}}</a> / | ||
<a [routerLink]="service?.getSpaceURL()" [queryParams]="spaceBreadCrumbs">{{ service?.getSpaceName() | async}}</a> | ||
<ng-container *ngIf="service?.getOrgName() | async"> | ||
<a [routerLink]="service?.getOrgURL()">{{ service?.getOrgName() | async}}</a> | ||
<span *ngIf="service?.getSpaceName() | async"> / </span> | ||
</ng-container> | ||
<ng-container *ngIf="service?.getSpaceName() | async"> | ||
<a [routerLink]="service?.getSpaceURL()" [queryParams]="spaceBreadCrumbs">{{ service?.getSpaceName() | async}}</a> | ||
</ng-container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters