Add template for tree log view