Added links to leave and edit activity in team page.