From: Michael Shamoon <4887959+shamoon@users.noreply.github.com>
Date: Sun, 18 Dec 2022 04:05:12 +0000 (-0800)
Subject: Merge branch 'dev' into feature-permissions
X-Git-Tag: v1.14.0-beta.rc1~109^2~27
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f31cee75f32587cfcbf5ab1a571aabce5c32668f;p=thirdparty%2Fpaperless-ngx.git
Merge branch 'dev' into feature-permissions
---
f31cee75f32587cfcbf5ab1a571aabce5c32668f
diff --cc src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.ts
index 26cc32b0ca,f59be5da94..2c6bf38e28
--- a/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.ts
+++ b/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.ts
@@@ -1,7 -1,5 +1,6 @@@
- import { HttpEventType } from '@angular/common/http'
- import { Component, OnInit } from '@angular/core'
- import { FileSystemFileEntry, NgxFileDropEntry } from 'ngx-file-drop'
+ import { Component } from '@angular/core'
+ import { NgxFileDropEntry } from 'ngx-file-drop'
+import { ComponentWithPermissions } from 'src/app/components/with-permissions/with-permissions.component'
import {
ConsumerStatusService,
FileStatus,
@@@ -16,10 -14,7 +15,7 @@@ const MAX_ALERTS =
templateUrl: './upload-file-widget.component.html',
styleUrls: ['./upload-file-widget.component.scss'],
})
- export class UploadFileWidgetComponent
- extends ComponentWithPermissions
- implements OnInit
- {
-export class UploadFileWidgetComponent {
++export class UploadFileWidgetComponent extends ComponentWithPermissions {
alertsExpanded = false
constructor(
diff --cc src-ui/src/app/components/document-detail/document-detail.component.html
index 336d722c31,0384de3713..5a5527b461
--- a/src-ui/src/app/components/document-detail/document-detail.component.html
+++ b/src-ui/src/app/components/document-detail/document-detail.component.html
@@@ -190,11 -180,9 +190,11 @@@
-
-
-
+
-
-
-
++
++
++
+
diff --cc src-ui/src/app/components/document-list/document-card-large/document-card-large.component.ts
index a6c9c25d3d,b431878798..68499b6f2e
--- 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
@@@ -21,10 -19,7 +20,7 @@@ import { ComponentWithPermissions } fro
'../popover-preview/popover-preview.scss',
],
})
- export class DocumentCardLargeComponent
- extends ComponentWithPermissions
- implements OnInit
- {
-export class DocumentCardLargeComponent {
++export class DocumentCardLargeComponent extends ComponentWithPermissions {
constructor(
private documentService: DocumentService,
private settingsService: SettingsService
diff --cc src-ui/src/app/components/manage/settings/settings.component.html
index 72a995fe93,eb279f4b69..4816ebb93d
--- a/src-ui/src/app/components/manage/settings/settings.component.html
+++ b/src-ui/src/app/components/manage/settings/settings.component.html
@@@ -232,79 -232,75 +232,79 @@@
-
- Mail accounts
-
-
-
-
- -
-
-
Name
-
Server
-
Actions
-
-
-
- -
-
-
-
{{account.imap_server}}
-
-
-
-
+
+
+ Mail accounts
+
+
+
+
+ -
+
+
Name
+
Server
+
Actions
+
+
+
+ -
+
+
+
{{account.imap_server}}
+
-
-
-
-
No mail accounts defined.
-
-
-
- Mail rules
-
-
-
-
- -
-
-
Name
-
Account
-
Actions
-
-
-
- -
-
-
-
{{(mailAccountService.getCached(rule.account) | async)?.name}}
-
-
-
-
+
+
-
No mail accounts defined.
++
No mail accounts defined.
+
+
+
+
+
+ Mail rules
+
+
+
+
+ -
+
+
Name
+
Account
+
Actions
+
+
+
+ -
+
+
+
{{(mailAccountService.getCached(rule.account) | async)?.name}}
+
-
-
+
-
No mail rules defined.
-
No mail rules defined.
-
++
No mail rules defined.
+
+
@@@ -404,5 -314,5 +404,5 @@@
-
-
++
diff --cc src-ui/src/app/components/manage/tasks/tasks.component.html
index bdce616e2d,f6b09333d4..974c6092ef
--- a/src-ui/src/app/components/manage/tasks/tasks.component.html
+++ b/src-ui/src/app/components/manage/tasks/tasks.component.html
@@@ -5,7 -5,7 +5,7 @@@
Clear selection
-