diff --git a/src/views/admin/components/lists/collections-list.vue b/src/views/admin/components/lists/collections-list.vue index b601e23d4..356b7f276 100644 --- a/src/views/admin/components/lists/collections-list.vue +++ b/src/views/admin/components/lists/collections-list.vue @@ -34,10 +34,10 @@ aria-role="listitem"> {{ $i18n.get('label_delete_selected_collections') }} - {{ $i18n.get('label_edit_selected_collections') + ' (Not ready)' }} - + --> @@ -292,7 +292,7 @@ show: 500, hide: 300, }, - content: getTotalItems(collection.total_items), + content: getTotalItemsDetailed(collection.total_items), autoHide: false, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], placement: 'auto-start' @@ -317,7 +317,8 @@ content: $i18n.get('edit'), autoHide: true, classes: ['tainacan-tooltip', 'tooltip', 'repository-tooltip'], - placement: 'auto' + placement: 'auto', + html: true }" class="icon"> @@ -414,6 +415,9 @@ export default { getTotalItems(total_items) { return Number(total_items['publish']) + Number(total_items['private']) + Number(total_items['draft']); }, + getTotalItemsDetailed(total_items) { + return this.$i18n.get('status_public') + ': ' + total_items['publish'] + '
' + this.$i18n.get('status_private') + ': ' + total_items['private'] + '
' + this.$i18n.get('status_draft') + ': ' + total_items['draft']; + }, deleteOneCollection(collectionId) { this.$buefy.modal.open({ parent: this,