Updated docs, display text

This commit is contained in:
shamoon 2024-05-01 13:46:30 -07:00
parent ecee3ae477
commit 26d7d19a98
3 changed files with 11 additions and 2 deletions

View File

@ -478,6 +478,13 @@ As of version 2.7, Paperless-ngx automatically records all changes to a document
Changes to documents are visible under the "History" tab. Note that certain changes such as those made by workflows, record the 'actor' Changes to documents are visible under the "History" tab. Note that certain changes such as those made by workflows, record the 'actor'
as "System". as "System".
## Document Trash
When you first delete a document it is moved to the 'trash' until either it is explicitly deleted or it is automatically removed after a set amount of time has passed.
You can set how long documents remain in the trash before being automatically deleted with [`EMPTY_TRASH_DELAY`](configuration.md#EMPTY_TRASH_DELAY), which defaults
to 30 days. Additionally you may configure a directory where deleted documents are moved to when they are finally deleted with [`PAPERLESS_TRASH_DIR`](configuration.md#PAPERLESS_TRASH_DIR).
Note that the trash directory only stores the original file, the archive version and all database information is permanently removed once a document is fully deleted.
## Best practices {#basic-searching} ## Best practices {#basic-searching}
Paperless offers a couple tools that help you organize your document Paperless offers a couple tools that help you organize your document

View File

@ -1,7 +1,9 @@
<pngx-page-header <pngx-page-header
title="Trash" title="Trash"
i18n-title i18n-title
info="Manage trashed items." info="Manage trashed documents that are pending deletion."
i18n-info
infoLink="usage/#document-trash"
> >
<button class="btn btn-sm btn-outline-secondary" (click)="clearSelection()" [hidden]="selectedDocuments.size === 0"> <button class="btn btn-sm btn-outline-secondary" (click)="clearSelection()" [hidden]="selectedDocuments.size === 0">
<i-bs name="x"></i-bs>&nbsp;<ng-container i18n>Clear selection</ng-container> <i-bs name="x"></i-bs>&nbsp;<ng-container i18n>Clear selection</ng-container>

View File

@ -73,7 +73,7 @@ export class TrashComponent implements OnDestroy {
modal.componentInstance.title = $localize`Confirm delete` modal.componentInstance.title = $localize`Confirm delete`
modal.componentInstance.messageBold = $localize`This operation will permanently delete ${ modal.componentInstance.messageBold = $localize`This operation will permanently delete ${
documents?.size ?? $localize`all` documents?.size ?? $localize`all`
} documents.` } documents in the trash.`
modal.componentInstance.message = $localize`This operation cannot be undone.` modal.componentInstance.message = $localize`This operation cannot be undone.`
modal.componentInstance.btnClass = 'btn-danger' modal.componentInstance.btnClass = 'btn-danger'
modal.componentInstance.btnCaption = $localize`Delete` modal.componentInstance.btnCaption = $localize`Delete`