From fe7aa10d2c37371161ac8dc9bb675e088c650758 Mon Sep 17 00:00:00 2001 From: Jonas Winkler Date: Wed, 25 Nov 2020 18:01:43 +0100 Subject: [PATCH] frontend support for downloading originals --- .../document-detail.component.html | 26 ++++++++++++++----- .../document-detail.component.ts | 7 +++++ .../app/data/paperless-document-metadata.ts | 11 ++++++++ .../src/app/services/rest/document.service.ts | 21 ++++++++++++--- 4 files changed, 55 insertions(+), 10 deletions(-) create mode 100644 src-ui/src/app/data/paperless-document-metadata.ts diff --git a/src-ui/src/app/components/document-detail/document-detail.component.html b/src-ui/src/app/components/document-detail/document-detail.component.html index 9e1f8ad71..474c1376d 100644 --- a/src-ui/src/app/components/document-detail/document-detail.component.html +++ b/src-ui/src/app/components/document-detail/document-detail.component.html @@ -5,12 +5,26 @@ Delete - - - - - Download - + +
+ + + + + + Download + + +
+ + +
+ +
+ +