-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
283 additions
and
256 deletions.
There are no files selected for viewing
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
3 changes: 3 additions & 0 deletions
3
...roups/group-tabs/feature-tabs/components/open-gitlab-icon/open-gitlab-icon.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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<button (click)="onClick($event)" nz-tooltip nzTooltipTitle="Open in Gitlab" nz-button> | ||
<span nz-icon nzType="gitlab"></span> | ||
</button> |
Empty file.
21 changes: 21 additions & 0 deletions
21
.../groups/group-tabs/feature-tabs/components/open-gitlab-icon/open-gitlab-icon.component.ts
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { CommonModule } from '@angular/common' | ||
import { ChangeDetectionStrategy, Component, input } from '@angular/core' | ||
import { NzButtonModule } from 'ng-zorro-antd/button' | ||
import { NzIconModule } from 'ng-zorro-antd/icon' | ||
import { NzToolTipModule } from 'ng-zorro-antd/tooltip' | ||
|
||
@Component({ | ||
selector: 'gcd-open-gitlab-icon', | ||
imports: [CommonModule, NzButtonModule, NzIconModule, NzToolTipModule], | ||
templateUrl: './open-gitlab-icon.component.html', | ||
styleUrls: ['./open-gitlab-icon.component.scss'], | ||
changeDetection: ChangeDetectionStrategy.OnPush | ||
}) | ||
export class OpenGitlabIconComponent { | ||
url = input.required<string>() | ||
|
||
onClick(e: MouseEvent) { | ||
e.stopPropagation() | ||
window.open(this.url(), '_blank') | ||
} | ||
} |
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 |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
</button> | ||
} --> | ||
|
||
<div>Cancel pipeline</div> | ||
<div>Cancel pipeline</div> |
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 |
---|---|---|
|
@@ -11,4 +11,4 @@ | |
</button> | ||
} --> | ||
|
||
<div>Retry pipeline</div> | ||
<div>Retry pipeline</div> |
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
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
Oops, something went wrong.