Updated dashboard template to use new query result formatting