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>
|
||||
<query-select>
|
||||
PREFIX afn: <http://jena.hpl.hp.com/ARQ/function#>
|
||||
SELECT ?value ?localName
|
||||
SELECT ?value
|
||||
WHERE {
|
||||
?subject ?property ?value
|
||||
LET (?localName := afn:localname(?value))
|
||||
} LIMIT 1
|
||||
</query-select>
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<#if statement.credential??>
|
||||
<a href="${profileUrl(statement.uri("credential"))}" title="${i18n().credential_name}">${statement.credentialLabel!statement.localName!}</a>
|
||||
<#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>
|
||||
</#local>
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<@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>
|
||||
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
<#--Retrieve variables needed-->
|
||||
<#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 editSubmission?has_content && editSubmission.submissionExists = true && editSubmission.validationErrors?has_content>
|
||||
<#assign submissionErrors = editSubmission.validationErrors/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue