From 8c67abf3f4cd57cd2d05fe047714ae1ddef14974 Mon Sep 17 00:00:00 2001 From: Alex ORLUC <alex.orluc@maarch.org> Date: Thu, 1 Apr 2021 17:38:31 +0200 Subject: [PATCH] FIX #16799 TIME 0:05 fix tablet display --- .../app/administration/history/history-list.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/app/administration/history/history-list.component.html b/src/frontend/app/administration/history/history-list.component.html index c406efac05..08ca980acc 100644 --- a/src/frontend/app/administration/history/history-list.component.html +++ b/src/frontend/app/administration/history/history-list.component.html @@ -51,7 +51,7 @@ <h2>{{element.message}}</h2> </ion-label> <ion-note slot="end"> - <p [title]="('lang.resource' | translate) + ' : ' + element.objectId">{{'lang.' + element.objectType | translate}} : {{element.objectLabel !== null ? element.objectLabel : ('lang.undefined' | translate)}}</p> + <p [title]="('lang.resource' | translate) + ' : ' + element.objectId">{{'lang.' + element.objectType | translate}} : {{element.objectLabel !== null ? (element.objectLabel | shorten: 50: '...') : ('lang.undefined' | translate)}}</p> <p style="float: right; margin-top: 0px">IP : {{element.ip}}</p> </ion-note> </ion-item> -- GitLab