diff --git a/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.html b/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.html index fb90facf57d..33117a0532a 100644 --- a/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.html +++ b/src/portal/src/app/base/project/repository/artifact/artifact-list-page/artifact-list/artifact-list-tab/artifact-list-tab.component.html @@ -430,7 +430,8 @@ + [labelWidth]="90" + [withTooltip]="true">
+ [label]="label" + [withTooltip]="true">
diff --git a/src/portal/src/app/shared/components/label/label-piece/label-piece.component.html b/src/portal/src/app/shared/components/label/label-piece/label-piece.component.html index 9429f78b4c2..8f3f1647da2 100644 --- a/src/portal/src/app/shared/components/label/label-piece/label-piece.component.html +++ b/src/portal/src/app/shared/components/label/label-piece/label-piece.component.html @@ -1,18 +1,27 @@ - + + + + {{ label.description }} + + diff --git a/src/portal/src/app/shared/components/label/label-piece/label-piece.component.ts b/src/portal/src/app/shared/components/label/label-piece/label-piece.component.ts index 4607df24bbc..5c2c289dcb8 100644 --- a/src/portal/src/app/shared/components/label/label-piece/label-piece.component.ts +++ b/src/portal/src/app/shared/components/label/label-piece/label-piece.component.ts @@ -24,6 +24,7 @@ export class LabelPieceComponent implements OnChanges { @Input() label: Label; @Input() labelWidth: number; @Input() hasIcon: boolean = true; + @Input() withTooltip: boolean = false; labelColor: { [key: string]: string }; ngOnChanges(): void {