mirror of https://github.com/apache/nifi.git
[NIFI-13968] add title tooltip for truncated attribute values
This commit is contained in:
parent
a20eaa9a40
commit
9fef084d90
|
@ -207,7 +207,10 @@
|
|||
<div class="unset neutral-color">Empty string set</div>
|
||||
</ng-container>
|
||||
<ng-template #nonEmptyValue>
|
||||
<div class="tertiary-color font-medium" *ngIf="title == null; else valueWithTitle">
|
||||
<div
|
||||
class="tertiary-color font-medium truncate"
|
||||
[title]="value"
|
||||
*ngIf="title == null; else valueWithTitle">
|
||||
{{ value }}
|
||||
</div>
|
||||
<ng-template #valueWithTitle>
|
||||
|
@ -221,7 +224,7 @@
|
|||
</ng-template>
|
||||
<ng-template #formatContentValue let-value let-title="title">
|
||||
<ng-container *ngIf="value != null; else nullValue">
|
||||
<div class="tertiary-color font-medium" *ngIf="title == null; else valueWithTitle">
|
||||
<div class="tertiary-color font-medium truncate" [title]="value" *ngIf="title == null; else valueWithTitle">
|
||||
{{ value }}
|
||||
</div>
|
||||
<ng-template #valueWithTitle>
|
||||
|
|
|
@ -426,14 +426,13 @@
|
|||
</ng-container>
|
||||
<ng-template #nonEmptyValue>
|
||||
<div
|
||||
class="tertiary-color font-medium overflow-ellipsis overflow-hidden whitespace-nowrap"
|
||||
class="tertiary-color font-medium truncate"
|
||||
[title]="value"
|
||||
*ngIf="title == null; else valueWithTitle">
|
||||
{{ value }}
|
||||
</div>
|
||||
<ng-template #valueWithTitle>
|
||||
<div
|
||||
class="tertiary-color font-medium overflow-ellipsis overflow-hidden whitespace-nowrap"
|
||||
[title]="title">
|
||||
<div class="tertiary-color font-medium truncate" [title]="title">
|
||||
{{ value }}
|
||||
</div>
|
||||
</ng-template>
|
||||
|
@ -445,15 +444,11 @@
|
|||
</ng-template>
|
||||
<ng-template #formatContentValue let-value let-title="title">
|
||||
<ng-container *ngIf="value != null; else nullValue">
|
||||
<div
|
||||
class="tertiary-color font-medium overflow-ellipsis overflow-hidden whitespace-nowrap"
|
||||
*ngIf="title == null; else valueWithTitle">
|
||||
<div class="tertiary-color font-medium truncate" [title]="value" *ngIf="title == null; else valueWithTitle">
|
||||
{{ value }}
|
||||
</div>
|
||||
<ng-template #valueWithTitle>
|
||||
<div
|
||||
class="tertiary-color font-medium overflow-ellipsis overflow-hidden whitespace-nowrap"
|
||||
[title]="title">
|
||||
<div class="tertiary-color font-medium truncate" [title]="title">
|
||||
{{ value }}
|
||||
</div>
|
||||
</ng-template>
|
||||
|
|
Loading…
Reference in New Issue