added access online link to record view tpl. put in check for multilinks for record templates