updated event.tpl, added show task logic and template