Open nasr18 opened 7 years ago
As far as I can tell it's possible but you need to modify the directive itself.
I needed to add a count next to the label so I modified abn_tree_directive and the template like so:
abn_tree_directive
...<span class=\"indented tree-label\">{{ row.label }} </span><span class='count'>{{ row.count }}</span></a>...
And modified the scope.tree_rows call to include the count as well:
scope.tree_rows.push({ level: level, branch: branch, label: branch.label, count: branch.count, classes: branch.classes, tree_icon: tree_icon, visible: visible });
Not ideal, but is a quick way to get it working.
@chriscohoat you should PR that. It's just what I wanted! Thanks!
As far as I can tell it's possible but you need to modify the directive itself.
I needed to add a count next to the label so I modified
abn_tree_directive
and the template like so:...<span class=\"indented tree-label\">{{ row.label }} </span><span class='count'>{{ row.count }}</span></a>...
And modified the scope.tree_rows call to include the count as well:
Not ideal, but is a quick way to get it working.