RED-3800: fix bad css, remove unused component
This commit is contained in:
parent
914c40c40c
commit
776a70a5a7
@ -1,14 +0,0 @@
|
||||
<div class="small-label stats-subtitle">
|
||||
<div>
|
||||
<mat-icon svgIcon="iqser:pages"></mat-icon>
|
||||
{{ file.numberOfPages }}
|
||||
</div>
|
||||
<div>
|
||||
<mat-icon svgIcon="red:exclude-pages"></mat-icon>
|
||||
{{ file.excludedPages.length }}
|
||||
</div>
|
||||
<div *ngIf="file.lastOCRTime" [matTooltipPosition]="'above'" [matTooltip]="'dossier-overview.ocr-performed' | translate">
|
||||
<mat-icon svgIcon="iqser:ocr"></mat-icon>
|
||||
{{ file.lastOCRTime | date: 'mediumDate' }}
|
||||
</div>
|
||||
</div>
|
||||
@ -1,12 +0,0 @@
|
||||
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
||||
import { File } from '@red/domain';
|
||||
|
||||
@Component({
|
||||
selector: 'redaction-file-stats',
|
||||
templateUrl: './file-stats.component.html',
|
||||
styleUrls: ['./file-stats.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class FileStatsComponent {
|
||||
@Input() file: File;
|
||||
}
|
||||
@ -12,10 +12,6 @@
|
||||
min-width: fit-content;
|
||||
}
|
||||
|
||||
.content-inner {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.content-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@ -36,13 +36,13 @@ export class DatePipe extends BaseDatePipe implements PipeTransform {
|
||||
return this._translateService.instant('time.less-than-an-hour');
|
||||
}
|
||||
|
||||
const hoursDisplay = this._translateService.instant('time.hours', { hours: hoursLeft });
|
||||
const hoursDisplay: string = this._translateService.instant('time.hours', { hours: hoursLeft });
|
||||
|
||||
if (daysLeft === 0 && hoursLeft > 0) {
|
||||
return hoursDisplay;
|
||||
}
|
||||
|
||||
const daysDisplay = this._translateService.instant('time.days', { days: daysLeft });
|
||||
const daysDisplay: string = this._translateService.instant('time.days', { days: daysLeft });
|
||||
|
||||
if (daysLeft > 0 && hoursLeft > 0) {
|
||||
return `${daysDisplay} ${hoursDisplay}`;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"ADMIN_CONTACT_NAME": null,
|
||||
"ADMIN_CONTACT_URL": null,
|
||||
"API_URL": "https://dev-04.iqser.cloud/redaction-gateway-v1",
|
||||
"API_URL": "https://dev-08.iqser.cloud/redaction-gateway-v1",
|
||||
"APP_NAME": "RedactManager",
|
||||
"AUTO_READ_TIME": 3,
|
||||
"BACKEND_APP_VERSION": "4.4.40",
|
||||
@ -11,7 +11,7 @@
|
||||
"MAX_RETRIES_ON_SERVER_ERROR": 3,
|
||||
"OAUTH_CLIENT_ID": "redaction",
|
||||
"OAUTH_IDP_HINT": null,
|
||||
"OAUTH_URL": "https://dev-04.iqser.cloud/auth/realms/redaction",
|
||||
"OAUTH_URL": "https://dev-08.iqser.cloud/auth/realms/redaction",
|
||||
"RECENT_PERIOD_IN_HOURS": 24,
|
||||
"SELECTION_MODE": "structural",
|
||||
"MANUAL_BASE_URL": "https://docs.redactmanager.com/preview"
|
||||
|
||||
@ -4,5 +4,6 @@
|
||||
"outDir": "../../dist/out-tsc",
|
||||
"allowSyntheticDefaultImports": true
|
||||
},
|
||||
"files": ["src/main.ts", "src/polyfills.ts"]
|
||||
"files": ["src/main.ts", "src/polyfills.ts"],
|
||||
"include": ["src/**/*.ts"]
|
||||
}
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit d3fdef1b4cdb16730026633f83c3cd28f0d3358a
|
||||
Subproject commit 17fc935e0815f0d151a2674e7b4c77886319da71
|
||||
Loading…
x
Reference in New Issue
Block a user