diff --git a/src/app/entity/controllers/ListInstanceHistoryController.php b/src/app/entity/controllers/ListInstanceHistoryController.php index 480c0c1eb0b98680067421362fd225374bbe9c52..32ec3cf71efdc3eb6e5892ba0f105f8ee937cf81 100644 --- a/src/app/entity/controllers/ListInstanceHistoryController.php +++ b/src/app/entity/controllers/ListInstanceHistoryController.php @@ -134,6 +134,7 @@ class ListInstanceHistoryController ]; } } + array_shift($formattedHistory); $formattedHistory = array_reverse($formattedHistory); return $response->withJson(['listInstanceHistory' => $formattedHistory]); diff --git a/src/frontend/app/diffusions/history/history-diffusions-list.component.html b/src/frontend/app/diffusions/history/history-diffusions-list.component.html index 56c1e098f906695a2b1bd904ca90207d98f820d2..28e38b0d07638b0abef1a768e12bd061b5171f7f 100644 --- a/src/frontend/app/diffusions/history/history-diffusions-list.component.html +++ b/src/frontend/app/diffusions/history/history-diffusions-list.component.html @@ -1,7 +1,9 @@ <ng-container *ngIf="!loading"> <ng-container *ngFor="let diffList of diffListHistory"> <div class="dateTitle"> - <div mat-subheader color="primary" [title]="diffList.creationDate | fullDate">{{'lang.list' | translate}} <b>{{diffList.creationDate | timeAgo : 'full'}}</b> {{'lang.by' | translate | lowercase}} <b>{{diffList.user}}</b></div> + <div mat-subheader color="primary" [title]="diffList.creationDate | fullDate"> + {{'lang.createdBy' | translate}} <b>{{diffList.user}}</b> <b>{{diffList.creationDate | timeAgo : 'full'}}</b> + </div> <mat-divider></mat-divider> </div> <ng-container *ngFor="let role of availableRoles"> diff --git a/src/frontend/app/visa/history/history-visa-workflow.component.html b/src/frontend/app/visa/history/history-visa-workflow.component.html index a44f4951c40aa9e85ebd2071afb8db03adbfe185..e8645a8098c6740b8c3cf5d469bee9b584c5f1ca 100644 --- a/src/frontend/app/visa/history/history-visa-workflow.component.html +++ b/src/frontend/app/visa/history/history-visa-workflow.component.html @@ -3,7 +3,7 @@ <mat-list> <div class="dateTitle"> <div mat-subheader class="primary" [title]="visaWorkflow.creationDate | fullDate"> - {{'lang.createdBy' | translate }} {{visaWorkflow.user}} <b>{{visaWorkflow.creationDate | timeAgo : 'full'}}</b> + {{'lang.createdBy' | translate }} <b>{{visaWorkflow.user}}</b> <b>{{visaWorkflow.creationDate | timeAgo : 'full'}}</b> </div> <mat-divider></mat-divider> </div>