mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-18 22:14:22 -06:00
Make these anchors
This commit is contained in:
@@ -382,14 +382,15 @@
|
|||||||
<div class="fst-italic" i18n>Duplicate documents detected:</div>
|
<div class="fst-italic" i18n>Duplicate documents detected:</div>
|
||||||
<div class="list-group">
|
<div class="list-group">
|
||||||
@for (duplicate of document.duplicate_documents; track duplicate.id) {
|
@for (duplicate of document.duplicate_documents; track duplicate.id) {
|
||||||
<button
|
<a
|
||||||
type="button"
|
|
||||||
class="list-group-item list-group-item-action d-flex justify-content-between align-items-center"
|
class="list-group-item list-group-item-action d-flex justify-content-between align-items-center"
|
||||||
(click)="openDuplicateDocument(duplicate.id)"
|
[routerLink]="['/documents', duplicate.id, 'details']"
|
||||||
>
|
>
|
||||||
|
<span class="d-flex align-items-center gap-2">
|
||||||
<span>{{ duplicate.title || ('#' + duplicate.id) }}</span>
|
<span>{{ duplicate.title || ('#' + duplicate.id) }}</span>
|
||||||
|
</span>
|
||||||
<span class="text-secondary">#{{ duplicate.id }}</span>
|
<span class="text-secondary">#{{ duplicate.id }}</span>
|
||||||
</button>
|
</a>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import {
|
|||||||
FormsModule,
|
FormsModule,
|
||||||
ReactiveFormsModule,
|
ReactiveFormsModule,
|
||||||
} from '@angular/forms'
|
} from '@angular/forms'
|
||||||
import { ActivatedRoute, Router } from '@angular/router'
|
import { ActivatedRoute, Router, RouterModule } from '@angular/router'
|
||||||
import {
|
import {
|
||||||
NgbDateStruct,
|
NgbDateStruct,
|
||||||
NgbDropdownModule,
|
NgbDropdownModule,
|
||||||
@@ -182,6 +182,7 @@ export enum ZoomSetting {
|
|||||||
NgxBootstrapIconsModule,
|
NgxBootstrapIconsModule,
|
||||||
PdfViewerModule,
|
PdfViewerModule,
|
||||||
TextAreaComponent,
|
TextAreaComponent,
|
||||||
|
RouterModule,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class DocumentDetailComponent
|
export class DocumentDetailComponent
|
||||||
|
|||||||
Reference in New Issue
Block a user