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

FEAT #15677 TIME 1 wording history difflist + visa workflow

parent 5f2e727a
No related branches found
No related tags found
No related merge requests found
<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">Actif&nbsp;<b>{{diffList.creationDate | timeAgo : 'full'}}</b>&nbsp;par&nbsp;<b>{{diffList.user}}</b></div> <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>
<mat-divider></mat-divider> <mat-divider></mat-divider>
</div> </div>
<ng-container *ngFor="let role of availableRoles"> <ng-container *ngFor="let role of availableRoles">
......
...@@ -58,7 +58,7 @@ export class HistoryDiffusionsListComponent implements OnInit { ...@@ -58,7 +58,7 @@ export class HistoryDiffusionsListComponent implements OnInit {
this.diffListHistory = [ this.diffListHistory = [
{ {
user: 'Bernard BLIER', user: 'Bernard BLIER',
creationDate: '2020-10-06 17:02:19.558904', creationDate: '2020-12-18 14:02:19.558904',
listinstance: { listinstance: {
'dest': { 'dest': {
'label': 'Attributaire', 'label': 'Attributaire',
......
...@@ -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">
Actif&nbsp;<b>{{visaWorkflow.creationDate | timeAgo : 'full'}}</b>&nbsp;par&nbsp;<b>{{visaWorkflow.user}}</b> {{'lang.workflow' | translate}}&nbsp;<b>{{visaWorkflow.creationDate | timeAgo : 'full'}}</b>&nbsp;{{'lang.by' | translate | lowercase}}&nbsp;<b>{{visaWorkflow.user}}</b>
</div> </div>
<mat-divider></mat-divider> <mat-divider></mat-divider>
</div> </div>
......
...@@ -2193,5 +2193,7 @@ ...@@ -2193,5 +2193,7 @@
"diffusionHistory": "Historique de diffusion", "diffusionHistory": "Historique de diffusion",
"showDiffusionHistory": "Afficher l'historique de diffusion", "showDiffusionHistory": "Afficher l'historique de diffusion",
"visaWorkflowHistory": "Historique du circuit de visa", "visaWorkflowHistory": "Historique du circuit de visa",
"showVisaWorkflowHistory": "Afficher l'historique du circuit de visa" "showVisaWorkflowHistory": "Afficher l'historique du circuit de visa",
"list": "Liste",
"workflow": "Circuit"
} }
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