Add macros details and total-details to 'app' template