VIVO-384 and VIVO-387 orcid id update
This commit is contained in:
parent
0cc3817216
commit
3c62901245
4 changed files with 4 additions and 5 deletions
|
@ -8,10 +8,9 @@
|
||||||
<list-view-config>
|
<list-view-config>
|
||||||
<query-select>
|
<query-select>
|
||||||
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
|
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
|
||||||
SELECT ?value ?localName
|
SELECT ?value
|
||||||
WHERE {
|
WHERE {
|
||||||
?subject ?property ?value
|
?subject ?property ?value
|
||||||
LET (?localName := afn:localname(?value))
|
|
||||||
} LIMIT 1
|
} LIMIT 1
|
||||||
</query-select>
|
</query-select>
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
<#if statement.credential??>
|
<#if statement.credential??>
|
||||||
<a href="${profileUrl(statement.uri("credential"))}" title="${i18n().credential_name}">${statement.credentialLabel!statement.localName!}</a>
|
<a href="${profileUrl(statement.uri("credential"))}" title="${i18n().credential_name}">${statement.credentialLabel!statement.localName!}</a>
|
||||||
<#else>
|
<#else>
|
||||||
<a href="${profileUrl(statement.uri("issuedCredential"))}" title="${i18n().credential_receipt_name}">${statement.issuedCredential!}</a>
|
<a href="${profileUrl(statement.uri("issuedCredential"))}" title="${i18n().credential_name}">${statement.issuedCredential!}</a>
|
||||||
</#if>
|
</#if>
|
||||||
</#local>
|
</#local>
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
<@showStatement statement />
|
<@showStatement statement />
|
||||||
|
|
||||||
<#macro showStatement statement>
|
<#macro showStatement statement>
|
||||||
<a href="${statement.value!}" title="ORCID iD" target="_blank">${statement.localName!statement.value!}</a>
|
<a href="${statement.value!}" title="ORCID iD" target="_blank">${statement.value!"ORCID iD not found"}</a>
|
||||||
</#macro>
|
</#macro>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
<#--Retrieve variables needed-->
|
<#--Retrieve variables needed-->
|
||||||
<#assign orcidIdFromConf = lvf.getFormFieldValue(editSubmission, editConfiguration, "orcidId") />
|
<#assign orcidIdFromConf = lvf.getFormFieldValue(editSubmission, editConfiguration, "orcidId") />
|
||||||
<#assign orcidIdValue = orcidIdFromConf?replace("http://www.orcid.org/","") />
|
<#assign orcidIdValue = orcidIdFromConf?replace("http://orcid.org/","") />
|
||||||
<#--If edit submission exists, then retrieve validation errors if they exist-->
|
<#--If edit submission exists, then retrieve validation errors if they exist-->
|
||||||
<#if editSubmission?has_content && editSubmission.submissionExists = true && editSubmission.validationErrors?has_content>
|
<#if editSubmission?has_content && editSubmission.submissionExists = true && editSubmission.validationErrors?has_content>
|
||||||
<#assign submissionErrors = editSubmission.validationErrors/>
|
<#assign submissionErrors = editSubmission.validationErrors/>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue