diff --git a/src-ui/cypress/integration/manage.spec.ts b/src-ui/cypress/integration/manage.spec.ts index f0703a4ed..e28556a24 100644 --- a/src-ui/cypress/integration/manage.spec.ts +++ b/src-ui/cypress/integration/manage.spec.ts @@ -26,7 +26,7 @@ describe('manage', () => { req.reply({ count: 3, next: null, previous: null, results: [] }) }) cy.visit('/tags') - cy.get('tbody').find('button').contains('Documents').first().click() // id = 4 + cy.get('tbody').find('button:visible').contains('Documents').first().click() // id = 4 cy.contains('3 documents') }) }) diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index 339d57cdd..962476fbe 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -372,15 +372,15 @@ src/app/components/manage/management-list/management-list.component.html - 40 + 54 src/app/components/manage/management-list/management-list.component.html - 40 + 54 src/app/components/manage/management-list/management-list.component.html - 40 + 54 @@ -1170,15 +1170,27 @@ src/app/components/manage/management-list/management-list.component.html - 51 + 46 src/app/components/manage/management-list/management-list.component.html - 51 + 46 src/app/components/manage/management-list/management-list.component.html - 51 + 46 + + + src/app/components/manage/management-list/management-list.component.html + 65 + + + src/app/components/manage/management-list/management-list.component.html + 65 + + + src/app/components/manage/management-list/management-list.component.html + 65 src/app/components/manage/management-list/management-list.component.ts @@ -1431,7 +1443,7 @@ Confirm delete src/app/components/document-detail/document-detail.component.ts - 412 + 421 src/app/components/manage/management-list/management-list.component.ts @@ -1442,28 +1454,28 @@ Do you really want to delete document ""? src/app/components/document-detail/document-detail.component.ts - 413 + 422 The files for this document will be deleted permanently. This operation cannot be undone. src/app/components/document-detail/document-detail.component.ts - 414 + 423 Delete document src/app/components/document-detail/document-detail.component.ts - 416 + 425 Error deleting document: src/app/components/document-detail/document-detail.component.ts - 432 + 441 @@ -1727,6 +1739,18 @@ src/app/components/manage/management-list/management-list.component.html 45 + + src/app/components/manage/management-list/management-list.component.html + 59 + + + src/app/components/manage/management-list/management-list.component.html + 59 + + + src/app/components/manage/management-list/management-list.component.html + 59 + View @@ -2025,8 +2049,8 @@ 33 - - Last correspondence + + Last used src/app/components/manage/correspondent-list/correspondent-list.component.ts 37 @@ -2132,19 +2156,34 @@ 174 + + Filter Documents + + src/app/components/manage/management-list/management-list.component.html + 44 + + + src/app/components/manage/management-list/management-list.component.html + 44 + + + src/app/components/manage/management-list/management-list.component.html + 44 + + {VAR_PLURAL, plural, =1 {One } other { total s}} src/app/components/manage/management-list/management-list.component.html - 60 + 74 src/app/components/manage/management-list/management-list.component.html - 60 + 74 src/app/components/manage/management-list/management-list.component.html - 60 + 74 diff --git a/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.ts b/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.ts index 4887f5e34..dd0d8ed06 100644 --- a/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.ts +++ b/src-ui/src/app/components/manage/correspondent-list/correspondent-list.component.ts @@ -34,7 +34,7 @@ export class CorrespondentListComponent extends ManagementListComponent { return this.datePipe.transform(c.last_correspondence) }, diff --git a/src-ui/src/app/components/manage/management-list/management-list.component.html b/src-ui/src/app/components/manage/management-list/management-list.component.html index c9c9d60d3..761e340eb 100644 --- a/src-ui/src/app/components/manage/management-list/management-list.component.html +++ b/src-ui/src/app/components/manage/management-list/management-list.component.html @@ -17,7 +17,7 @@ Name - Matching + Matching Document count {{column.name}} Actions @@ -26,14 +26,28 @@ {{ object.name }} - {{ getMatching(object) }} + {{ getMatching(object) }} {{ object.document_count }}
{{ column.valueFn.call(null, object) }} -
+
+
+ +
+ + + +
+
+
+