Improved formatting of resources in the sidebar