NXP-15412: fix onclick js on rest document link when there is no URL
NXP-15412: handle repositoryName on rest_document_link action type