add event link to template