diff --git a/src/frontend/app/administration/history/history-list.component.html b/src/frontend/app/administration/history/history-list.component.html index c406efac05acc193fc0e518c33a7339fc85ed0c3..08ca980acc5a8902ae8cb63af1d90ccf0587c294 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>