From c2cec70c9ae0a18bae4b9e4f1d60c857f78ce33f Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 4 Mar 2024 23:04:23 -0800 Subject: [PATCH] Allow rotate from doc details page --- docs/usage.md | 8 +++- .../rotate-confirm-dialog.component.html | 12 +++--- .../rotate-confirm-dialog.component.ts | 1 + .../document-detail.component.html | 4 ++ .../document-detail.component.spec.ts | 29 +++++++++++++ .../document-detail.component.ts | 43 +++++++++++++++++++ .../bulk-editor/bulk-editor.component.html | 2 +- 7 files changed, 91 insertions(+), 8 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index 156096106..e5ef3b2c0 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -461,8 +461,12 @@ Paperless-ngx added the ability to create shareable links to files in version 2. Paperless-ngx supports 3 basic editing operations for PDFs (these operations cannot be performed on non-PDF files): - Merging documents: available when selecting multiple documents for 'bulk editing' -- Rotating documents: available when selecting multiple documents for 'bulk editing'. Note that rotation alters the source file. -- Splitting documents: available from an individual documents details page +- Rotating documents: available when selecting multiple documents for 'bulk editing' and from an individual document's details page. +- Splitting documents: available from an individual document's details page + +!!! important + + Note that rotation alters the Paperless-ngx original file. ## Best practices {#basic-searching} diff --git a/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html b/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html index 7c61aa14a..8a6eacef4 100644 --- a/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html +++ b/src-ui/src/app/components/common/confirm-dialog/rotate-confirm-dialog/rotate-confirm-dialog.component.html @@ -5,17 +5,17 @@