Skip to content

Commit

Permalink
updated tooltips in details page (click for more details).
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Jun 11, 2022
1 parent 769f253 commit f57b71a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webapp/frontend/src/app/modules/detail/detail.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ <h2 class="m-0">Drive Details - {{device | deviceTitle:config.dashboardDisplay}}
[ngClass]="{'bg-red': getAttributeStatusName(attribute.status) === 'failed',
'bg-green': getAttributeStatusName(attribute.status) === 'passed',
'bg-yellow': getAttributeStatusName(attribute.status) === 'warn'}"></span>
<span class="pr-2px leading-relaxed whitespace-no-wrap" matTooltip="{{attribute.status_reason}}">{{getAttributeStatusName(attribute.status)}}</span>
<span class="pr-2px leading-relaxed whitespace-no-wrap" matTooltip="{{attribute.status_reason}} - click for more details.">{{getAttributeStatusName(attribute.status)}}</span>
</span>
</td>
</ng-container>
Expand Down Expand Up @@ -204,7 +204,7 @@ <h2 class="m-0">Drive Details - {{device | deviceTitle:config.dashboardDisplay}}
</th>
<td mat-cell
*matCellDef="let attribute">
<span class="pr-6 whitespace-no-wrap" matTooltip="{{getAttributeDescription(attribute)}}">
<span class="pr-6 whitespace-no-wrap" matTooltip="click for more details.">
{{getAttributeName(attribute)}} <mat-icon *ngIf="getAttributeDescription(attribute)" class="icon-size-10" [svgIcon]="'info'"></mat-icon>
</span>
</td>
Expand Down

0 comments on commit f57b71a

Please sign in to comment.