diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html index 305cb37d2..2ef5875fe 100644 --- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html +++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.html @@ -24,6 +24,13 @@ Edit + + + + + + View + diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.ts b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.ts index 1c1e110c0..db634e83c 100644 --- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.ts +++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.ts @@ -41,4 +41,8 @@ export class DocumentCardLargeComponent implements OnInit { getDownloadUrl() { return this.documentService.getDownloadUrl(this.document.id) } + + getPreviewUrl() { + return this.documentService.getPreviewUrl(this.document.id) + } } diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html index 022b92a4d..85dc94dd8 100644 --- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html +++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.html @@ -16,12 +16,18 @@
- + - + + + + + + + diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.ts b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.ts index 1ca9847b9..5cc4c5bde 100644 --- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.ts +++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.ts @@ -24,4 +24,8 @@ export class DocumentCardSmallComponent implements OnInit { getDownloadUrl() { return this.documentService.getDownloadUrl(this.document.id) } + + getPreviewUrl() { + return this.documentService.getPreviewUrl(this.document.id) + } } diff --git a/src-ui/src/app/components/search/search.component.scss b/src-ui/src/app/components/search/search.component.scss index 5be54746a..40ca79a61 100644 --- a/src-ui/src/app/components/search/search.component.scss +++ b/src-ui/src/app/components/search/search.component.scss @@ -11,5 +11,5 @@ } .result-content-searching { - opacity: 0.2; + opacity: 0.3; } \ No newline at end of file