A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
display tags in thumbnail
Jonas Winklerd9ae4322eaab
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 4283a40ee..c344092b6 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@@ -1,9 +1,15 @@<div class="col p-2 h-100" style="width: 16rem;"><div class="card h-100">- <img [src]="getThumbUrl()" class="card-img-top doc-img border-bottom" style="height: 200px;"/>+ <div class=" border-bottom doc-img pr-1" [ngStyle]="{'background-image': 'url(' + getThumbUrl() + ')'}">+ <div class="row" *ngFor="let t of document.tags">+ <app-tag [tag]="t" class="col text-right"></app-tag>+ </div>+ </div>++<div class="card-body p-2"><p class="card-title" *ngIf="document.correspondent">{{document.correspondent.name}}</p>- <p class="card-text">{{document.title}} <app-tag [tag]="t" *ngFor="let t of document.tags" class="ml-1"></app-tag></p>+ <p class="card-text">{{document.title}}</p></div><div class="card-footer">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 680a87af5..ef00ad029 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@@ -1,5 +1,5 @@.doc-img {- object-fit: cover;- object-position: top;-+ background-size: cover;+ background-position: top;+ height: 200px;}\ No newline at end of file