private String getHtmlLink(String baseUrl, String repositoryName) {
        if (repositoryName == null || repositoryName.equals(WebConstants.ALL_REPO_FEEDS)) {
            return Utils.checkUrl(baseUrl.replace(WebConstants.REPO_SERVICE_PATH, "#/repos"));
        }
        else {
            return Utils.checkUrl(baseUrl.replace(WebConstants.REPO_SERVICE_PATH, "#/repo/" + repositoryName));
        }
    }