Skip to content
Snippets Groups Projects
Verified Commit ffdab403 authored by Damien's avatar Damien
Browse files

FIX #15677 TIME 0:40 Diffusion list + circuit fixes

parent 39c5eaee
No related branches found
No related tags found
No related merge requests found
...@@ -134,6 +134,7 @@ class ListInstanceHistoryController ...@@ -134,6 +134,7 @@ class ListInstanceHistoryController
]; ];
} }
} }
array_shift($formattedHistory);
$formattedHistory = array_reverse($formattedHistory); $formattedHistory = array_reverse($formattedHistory);
return $response->withJson(['listInstanceHistory' => $formattedHistory]); return $response->withJson(['listInstanceHistory' => $formattedHistory]);
......
<ng-container *ngIf="!loading"> <ng-container *ngIf="!loading">
<ng-container *ngFor="let diffList of diffListHistory"> <ng-container *ngFor="let diffList of diffListHistory">
<div class="dateTitle"> <div class="dateTitle">
<div mat-subheader color="primary" [title]="diffList.creationDate | fullDate">{{'lang.list' | translate}}&nbsp;<b>{{diffList.creationDate | timeAgo : 'full'}}</b>&nbsp;{{'lang.by' | translate | lowercase}}&nbsp;<b>{{diffList.user}}</b></div> <div mat-subheader color="primary" [title]="diffList.creationDate | fullDate">
{{'lang.createdBy' | translate}} &nbsp;<b>{{diffList.user}}</b> &nbsp;<b>{{diffList.creationDate | timeAgo : 'full'}}</b>
</div>
<mat-divider></mat-divider> <mat-divider></mat-divider>
</div> </div>
<ng-container *ngFor="let role of availableRoles"> <ng-container *ngFor="let role of availableRoles">
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<mat-list> <mat-list>
<div class="dateTitle"> <div class="dateTitle">
<div mat-subheader class="primary" [title]="visaWorkflow.creationDate | fullDate"> <div mat-subheader class="primary" [title]="visaWorkflow.creationDate | fullDate">
{{'lang.createdBy' | translate }} {{visaWorkflow.user}} &nbsp;<b>{{visaWorkflow.creationDate | timeAgo : 'full'}}</b> {{'lang.createdBy' | translate }} &nbsp;<b>{{visaWorkflow.user}}</b> &nbsp;<b>{{visaWorkflow.creationDate | timeAgo : 'full'}}</b>
</div> </div>
<mat-divider></mat-divider> <mat-divider></mat-divider>
</div> </div>
......
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