Skip to content
Snippets Groups Projects
Commit 50194b3b authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #13271 TIME 0:30 fix title

parent d137e4ce
No related branches found
No related tags found
No related merge requests found
......@@ -188,16 +188,17 @@
*ngIf="row.chrono == this.translate.instant('lang.undefined') && row.barcode != this.translate.instant('lang.undefined')">
<span style="color: rgba(0,0,0,0.4);font-size: 90%;">
<i title="{{'lang.barcode' | translate}}" class="fas fa-barcode"></i>&nbsp;<span
title="{{row.barcode_title}}"
[innerHTML]="row.barcode"></span>
</span>
</ng-container>
<ng-container *ngIf="row.chrono != this.translate.instant('lang.undefined')">
<span [innerHTML]="row.chrono"></span>
<span title="{{row.chrono_title}}" [innerHTML]="row.chrono"></span>
</ng-container>
</span>
<span class="main-info-data" (click)="launch(row);" style="font-weight:bold;flex:1;cursor:pointer;"
[class.undefined]="row.subject == this.translate.instant('lang.undefined')"
title="{{row.subject}}" [innerHTML]="row.subject | shorten: 150: '...'"></span>
title="{{row.subject_title}}" [innerHTML]="row.subject | shorten: 150: '...'"></span>
<span *ngIf="sidenavRight !== undefined" class="main-info-action">
<button mat-icon-button [class.highlightResultIcon]="row.inNotes"
title="{{'lang.notes' | translate}}"
......
......@@ -429,6 +429,7 @@ export class SearchResultListComponent implements OnInit, OnDestroy {
}
// Process main datas
Object.keys(element).forEach((key) => {
element[key + '_title'] = element[key];
if (key === 'statusImage' && element[key] == null) {
element[key] = 'fa-question undefined';
} else if ((element[key] == null || element[key] === '') && ['closingDate', 'countAttachments', 'countNotes', 'display', 'mailTracking', 'hasDocument'].indexOf(key) === -1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment