mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 02:05:16 +02:00
Show the count of the sub categories in the entity admin treeview.
This commit is contained in:
parent
650b388a1d
commit
d04a8626cb
5 changed files with 34 additions and 0 deletions
|
@ -513,6 +513,11 @@ span.highlight {
|
|||
padding-bottom: 3px;
|
||||
}
|
||||
|
||||
.treeview .badge {
|
||||
margin-left: auto;
|
||||
line-height: 1.42857143;
|
||||
}
|
||||
|
||||
/*****************************
|
||||
* Pagination bar
|
||||
*****************************/
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue