revolution
revolution copied to clipboard
Resource icons in resource groups tree
What does it do?
Abstract logic for getting icon classes from Resource\GetNodes
processor to the modResource::getIconClasses
.
Use the new method in Resource\GetNodes
and ResourceGroup\GetNodes
.
Lock icon is not part of this - as it's specific for resource tree and has no real benefit in resource group tree, same with classes around permissions.
Why is it needed?
Fixes the BUG that resource group's tree doesn't show resource icons. (100% viable for 3.0)
How to test
Create resource group, add resource, check if it has an icon :)
Related issue(s)/PR(s)
Different approach in #16011
Unfortunately, the resource status is not displayed in the group tree (publishing, deleting and displaying in the menu).
@theboxer - bump - wondering if you're still interested in this or want someone else to pick it up?
@theboxer @Mark-H - Guys, what's happening with this one? I'm happy to help...
extracted the status classes as well