Add CSS classes to ticket templates