Updated event and task templates

Added perms checks before delete and edit buttons are displayed