|
|
@@ -39,7 +39,16 @@ class WBCollectionListing extends Component { |
|
|
|
<div>{ item.owner_uuid }</div>
|
|
|
|
</div>),
|
|
|
|
item['file_count'],
|
|
|
|
filesize(item['file_size_total'])
|
|
|
|
filesize(item['file_size_total']),
|
|
|
|
(<div>
|
|
|
|
<a class="btn btn-outline-primary m-1" title="Properties"
|
|
|
|
href={ urlForObject(item, 'properties') }>
|
|
|
|
<i class="fas fa-list-ul"></i>
|
|
|
|
</a>
|
|
|
|
<button class="btn btn-outline-danger m-1" title="Delete">
|
|
|
|
<i class="fas fa-trash"></i>
|
|
|
|
</button>
|
|
|
|
</div>)
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
|
|
|
@@ -109,7 +118,7 @@ class WBCollectionListing extends Component { |
|
|
|
render({ app, ownerUuid, activePage, getPageUrl }, { rows, numPages }) {
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<WBTable columns={ [ 'Name', 'Description', 'Owner', 'File Count', 'Total Size' ] }
|
|
|
|
<WBTable columns={ [ 'Name', 'Description', 'Owner', 'File Count', 'Total Size', 'Actions' ] }
|
|
|
|
rows={ rows } />
|
|
|
|
|
|
|
|
<WBPagination numPages={ numPages }
|
|
|
|