Back to Paperless Ngx

Management List.Component

src-ui/src/app/components/manage/management-list/management-list.component.html

2.20.151.2 KB
Original Source

Clear selection Permissions Delete Create

Filter by:

|

| Name | Matching | Document count | @for (column of extraColumns; track column) { {{column.name}} | } Actions | | --- | --- | --- | --- | --- | --- | @if (loading) { |

Loading... | } @for (object of data; track object) { }

@if (!loading) { @if (displayCollectionSize > 0) { {displayCollectionSize, plural, =1 {One {{typeName}}} other {{{displayCollectionSize || 0}} total {{typeNamePlural}}}} @if (selectedObjects.size > 0) { ({{selectedObjects.size}} selected) } } @if (collectionSize > 20) { } }|

| @if (depth > 0) {

} {{ object.name }} | {{ getMatching(object) }} | {{ getDocumentCount(object) }} | @for (column of extraColumns; track column) { @if (column.badgeFn) { {{ column.badgeFn.call(null, object)?.text }} } @else if (column.monospace) { {{ column.valueFn.call(null, object) }} } @else { {{ column.valueFn.call(null, object) }} } | }

EditDelete @if (getDocumentCount(object) > 0) { Filter Documents ({{ getDocumentCount(object) }}) }

Edit Delete @if (getDocumentCount(object) > 0) { Documents{{ getDocumentCount(object) }} } | @if (object.children && object.children.length > 0) { @for (child of object.children; track child) { } }