Refactored outliner item view to use a template