adds port to link in the view