File properties and RED-5355
This commit is contained in:
parent
49cff1190e
commit
f2bed7a192
@ -35,7 +35,7 @@
|
||||
|
||||
<iqser-circle-button
|
||||
(action)="openRSSView(file)"
|
||||
*ngIf="configService.values.RSS_ENABLED"
|
||||
*ngIf="rssEnabled"
|
||||
[tooltip]="'file-preview.open-rss-view' | translate"
|
||||
class="ml-8"
|
||||
icon="red:extract"
|
||||
|
||||
@ -93,6 +93,7 @@ export class FilePreviewScreenComponent
|
||||
})
|
||||
private readonly _filterTemplate: TemplateRef<unknown>;
|
||||
@ViewChild('actionsWrapper', { static: false }) private _actionsWrapper: ElementRef;
|
||||
readonly rssEnabled: boolean;
|
||||
|
||||
constructor(
|
||||
readonly pdf: PdfViewer,
|
||||
@ -136,6 +137,7 @@ export class FilePreviewScreenComponent
|
||||
this.fullScreen = false;
|
||||
}
|
||||
});
|
||||
this.rssEnabled = 'true' === `${configService.values.RSS_ENABLED}`.toLowerCase();
|
||||
}
|
||||
|
||||
get changed() {
|
||||
|
||||
@ -69,6 +69,23 @@ export interface IFile {
|
||||
* Shows if this file has been OCRed by us. Last Time of OCR.
|
||||
*/
|
||||
readonly lastOCRTime?: string;
|
||||
|
||||
/**
|
||||
* OCR start Time.
|
||||
*/
|
||||
readonly ocrStartTime?: string;
|
||||
/**
|
||||
* Number of pages that require OCR.
|
||||
*/
|
||||
readonly numberOfPagesToOCR?: number;
|
||||
/**
|
||||
* Number of pages already OCR-ed.
|
||||
*/
|
||||
readonly numberOfOCRedPages?: number;
|
||||
/**
|
||||
* OCR end Time.
|
||||
*/
|
||||
readonly ocrEndTime?: string;
|
||||
/**
|
||||
* Shows the last date of a successful analysis.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user