A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Allow filtering by document metadata
Michael Shamoon7149d407cd7e
diff --git a/src-ui/src/app/components/common/tag/tag.component.html b/src-ui/src/app/components/common/tag/tag.component.htmlindex 6d8b53946..ed51597dc 100644--- a/src-ui/src/app/components/common/tag/tag.component.html+++ b/src-ui/src/app/components/common/tag/tag.component.html@@ -1,2 +1,2 @@<span *ngIf="!clickable" class="badge" [style.background]="tag.color" [style.color]="tag.text_color">{{tag.name}}</span>-<a [routerLink]="[]" [title]="linkTitle" *ngIf="clickable" class="badge" [style.background]="tag.color" [style.color]="tag.text_color">{{tag.name}}</a>+<a [title]="linkTitle" *ngIf="clickable" class="badge" [style.background]="tag.color" [style.color]="tag.text_color">{{tag.name}}</a>diff --git a/src-ui/src/app/components/common/tag/tag.component.scss b/src-ui/src/app/components/common/tag/tag.component.scssindex e69de29bb..903e9bfdb 100644--- a/src-ui/src/app/components/common/tag/tag.component.scss+++ b/src-ui/src/app/components/common/tag/tag.component.scss@@ -0,0 +1,3 @@+a {+ cursor: pointer;+}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.htmlindex ec4b28bc1..5c8f651ba 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@@ -17,7 +17,7 @@<div class="d-flex justify-content-between align-items-center"><h5 class="card-title"><ng-container *ngIf="document.correspondent">- <a *ngIf="clickCorrespondent.observers.length ; else nolink" [routerLink]="[]" title="Filter by correspondent" i18n-title (click)="clickCorrespondent.emit(document.correspondent);$event.stopPropagation()" class="fw-bold btn-link">{{(document.correspondent$ | async)?.name}}</a>+ <a *ngIf="clickCorrespondent.observers.length ; else nolink" title="Filter by correspondent" i18n-title (click)="clickCorrespondent.emit(document.correspondent);$event.stopPropagation()" class="fw-bold btn-link">{{(document.correspondent$ | async)?.name}}</a><ng-template #nolink>{{(document.correspondent$ | async)?.name}}</ng-template>:</ng-container>{{document.title | documentTitle}}diff --git a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scssindex ee817d6fc..8c304a3a8 100644--- a/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss+++ b/src-ui/src/app/components/document-list/document-card-large/document-card-large.component.scss@@ -90,3 +90,7 @@ span ::ng-deep .match {color: black;background-color: rgb(255, 211, 66);}++a {+ cursor: pointer;+}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.htmlindex e3c06e3f0..2e8d29b7f 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@@ -23,7 +23,7 @@<div class="card-body p-2"><p class="card-text"><ng-container *ngIf="document.correspondent">- <a [routerLink]="[]" title="Filter by correspondent" i18n-title (click)="clickCorrespondent.emit(document.correspondent);$event.stopPropagation()" class="fw-bold btn-link">{{(document.correspondent$ | async)?.name}}</a>:+ <a title="Filter by correspondent" i18n-title (click)="clickCorrespondent.emit(document.correspondent);$event.stopPropagation()" class="fw-bold btn-link">{{(document.correspondent$ | async)?.name}}</a>:</ng-container>{{document.title | documentTitle}}</p>diff --git a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scssindex 25b80d11e..d7a1d18f7 100644--- a/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss+++ b/src-ui/src/app/components/document-list/document-card-small/document-card-small.component.scss@@ -76,3 +76,7 @@text-align: left !important;font-size: 90%;}++a {+ cursor: pointer;+}diff --git a/src-ui/src/app/components/document-list/document-list.component.html b/src-ui/src/app/components/document-list/document-list.component.htmlindex fbb969918..9c3696aae 100644--- a/src-ui/src/app/components/document-list/document-list.component.html+++ b/src-ui/src/app/components/document-list/document-list.component.html@@ -163,7 +163,7 @@</td><td class="d-none d-md-table-cell"><ng-container *ngIf="d.correspondent">- <a [routerLink]="[]" (click)="clickCorrespondent(d.correspondent);$event.stopPropagation()" title="Filter by correspondent">{{(d.correspondent$ | async)?.name}}</a>+ <a (click)="clickCorrespondent(d.correspondent);$event.stopPropagation()" title="Filter by correspondent">{{(d.correspondent$ | async)?.name}}</a></ng-container></td><td>@@ -172,7 +172,7 @@</td><td class="d-none d-xl-table-cell"><ng-container *ngIf="d.document_type">- <a [routerLink]="[]" (click)="clickDocumentType(d.document_type);$event.stopPropagation()" title="Filter by document type">{{(d.document_type$ | async)?.name}}</a>+ <a (click)="clickDocumentType(d.document_type);$event.stopPropagation()" title="Filter by document type">{{(d.document_type$ | async)?.name}}</a></ng-container></td><td>diff --git a/src-ui/src/app/components/document-list/document-list.component.scss b/src-ui/src/app/components/document-list/document-list.component.scssindex eb4a757be..09bffc731 100644--- a/src-ui/src/app/components/document-list/document-list.component.scss+++ b/src-ui/src/app/components/document-list/document-list.component.scss@@ -53,3 +53,7 @@ $paperless-card-breakpoints: (margin-left: 0;}}++a {+ cursor: pointer;+}