Show the count of the sub categories in the entity admin treeview.

This commit is contained in:
Jan Böhmer 2019-04-05 18:35:06 +02:00
parent 650b388a1d
commit d04a8626cb
5 changed files with 34 additions and 0 deletions

View file

@ -513,6 +513,11 @@ span.highlight {
padding-bottom: 3px;
}
.treeview .badge {
margin-left: auto;
line-height: 1.42857143;
}
/*****************************
* Pagination bar
*****************************/

View file

@ -140,6 +140,11 @@ $(document).on("ajaxUI:start ajaxUI:reload", function() {
enableLinks: false,
showIcon: false,
showBorder: true,
showTags: true,
//@ts-ignore
wrapNode: true,
//@ts-ignore
tagsClass: 'badge badge-secondary badge-pill pull-right',
expandIcon: "fas fa-plus fa-fw fa-treeview", collapseIcon: "fas fa-minus fa-fw fa-treeview",
onNodeSelected: function(event, data) {
if(data.href) {