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

FEAT #14383 TIME 0:25 link front / back

parent b22220b1
No related branches found
No related tags found
No related merge requests found
......@@ -10,8 +10,8 @@
<div *ngIf="loading" class="loading" color="primary">
<mat-spinner></mat-spinner>
</div>
<mat-form-field *ngFor="let data of techData | keyvalue">
<mat-icon matPrefix [class]="data.value.icon" color="primary" style="width: 30px;"></mat-icon>
<mat-form-field class="data-item" *ngFor="let data of techData | keyvalue">
<mat-icon matPrefix [class]="data.value.icon" color="primary" style="width: 35px;text-align: center;"></mat-icon>
<mat-label>{{'lang.'+data.key | translate}}</mat-label>
<input matInput [value]="data.value.value" readonly>
</mat-form-field>
......@@ -20,11 +20,11 @@
<mat-expansion-panel expanded>
<mat-expansion-panel-header>
<mat-panel-title>
Informations complémentaires
{{'lang.otherInformations' | translate}}
</mat-panel-title>
</mat-expansion-panel-header>
<mat-form-field *ngFor="let custom of customsData | keyvalue">
<mat-icon matPrefix [class]="custom.value.icon" color="primary" style="width: 30px;"></mat-icon>
<mat-form-field *ngFor="let custom of customsData | keyvalue" class="data-item">
<mat-icon matPrefix [class]="custom.value.icon" color="primary" style="width: 35px;text-align: center;"></mat-icon>
<mat-label>{{custom.value.label}}</mat-label>
<input matInput [value]="custom.value.value" readonly>
</mat-form-field>
......
@import '../../../css/vars.scss';
.data-item {
::ng-deep.mat-form-field-flex {
align-items: center;
}
}
\ No newline at end of file
......@@ -39,8 +39,8 @@ export class TechnicalInformationComponent implements OnInit {
value: '',
icon: 'fas fa-fingerprint'
},
docserverPath: {
label: 'docserverPath',
docserverPathFile: {
label: 'docserverPathFile',
value: '',
icon: 'fas fa-terminal'
},
......@@ -82,6 +82,9 @@ export class TechnicalInformationComponent implements OnInit {
this.techData.fingerprint.value = data.information.fingerprint,
this.techData.size.value = this.functions.formatBytes(data.information.filesize),
this.techData.fulltext.value = data.information.fulltext_result,
this.techData.docserverPathFile.value = data.information.docserverPathFile,
this.techData.filename.value = data.information.filename,
this.techData.creationDate.value = this.datePipe.transform(data.information.creationDate, 'dd/MM/y HH:mm') ,
this.loading = false;
}),
......
......@@ -2094,6 +2094,7 @@
"openidEnabled": "Openid activé",
"casEnabled": "CAS activé",
"displayAsTechnicalData" : "Afficher en tant que donnée technique",
"displayInForm" : "Afficher dans le formulaire"
"displayInForm" : "Afficher dans le formulaire",
"technicalInformations" : "Informations techniques"
}
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