From ba6302fa4279ce9ea97de7497af7be01e9d2469f Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 16 Sep 2023 23:44:05 -0700 Subject: [PATCH] Refactoring, filters to and, show sources on list Show sources on template list, update some translation strings Make filters and minor testing --- ...mption-template-edit-dialog.component.html | 8 +++--- ...sumption-template-edit-dialog.component.ts | 10 ++++---- .../mail-rule-edit-dialog.component.html | 1 + .../consmption-templates-list.component.html | 2 ++ .../consmption-templates-list.component.ts | 16 ++++++++++-- src/documents/consumer.py | 12 ++++----- src/documents/tests/test_consumer.py | 25 +++++++++++++++++++ 7 files changed, 56 insertions(+), 18 deletions(-) diff --git a/src-ui/src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html b/src-ui/src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html index 3981bc8be..70e8c050d 100644 --- a/src-ui/src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html +++ b/src-ui/src/app/components/common/edit-dialog/consumption-template-edit-dialog/consumption-template-edit-dialog.component.html @@ -8,11 +8,11 @@
Paperless-ngx will process mails that match any of the filters specified below.
+Paperless-ngx will process mails that match all of the filters specified below.
Assignments specified here will supersede any consumption templates.
{{template.filter_filename}}
{{template.filter_path}}