Add a template based class to each node in the resource tree.

Pattern: class="template_xx" (x is the id of the current template)

By adding a few lines of code to manager/templates/default/css/index.css you can add a custom icon to each resource.

**Example for a custom item:**
div.template_6 .x-tree-node-icon {
    background-image: url("../images/restyle/icons/picture.png")!important;
}

**The screenshot shows the benefits:**
![Template based resource icons](https://dl.dropboxusercontent.com/u/1840535/Download.png)