activities view - disable edit link if activity is used by assessment