Adding event display to the templates.