Fix Altmetric badge display for publications with only PMID (#49)
This commit is contained in:
parent
f63ce1cbd0
commit
72b2538019
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@
|
|||
OPTIONAL { ?infoResource bibo:pageStart ?startPage }
|
||||
OPTIONAL { ?infoResource bibo:pageEnd ?endPage }
|
||||
OPTIONAL { ?infoResource bibo:doi ?doi }
|
||||
OPTIONAL { ?infoResource bibo:pmid ?doi }
|
||||
OPTIONAL { ?infoResource bibo:pmid ?pmid }
|
||||
OPTIONAL { ?infoResource bibo:isbn10 ?isbn10 }
|
||||
OPTIONAL { ?infoResource bibo:isbn13 ?isbn13 }
|
||||
OPTIONAL { ?infoResource core:placeOfPublication ?locale }
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
<#if altmetricEnabled??>
|
||||
<#if statement.doi??>
|
||||
<div data-badge-popover="right" data-badge-type="4" data-doi="${statement.doi}" data-hide-no-mentions="true" class="altmetric-embed" style="display: inline;"></div>
|
||||
<#elseif statement.pimd??>
|
||||
<#elseif statement.pmid??>
|
||||
<div data-badge-popover="right" data-badge-type="4" data-pmid="${statement.pmid}" data-hide-no-mentions="true" class="altmetric-embed" style="display: inline;"></div>
|
||||
<#elseif statement.isbn10??>
|
||||
<div data-badge-popover="right" data-badge-type="4" data-isbn="${statement.isbn10}" data-hide-no-mentions="true" class="altmetric-embed" style="display: inline;"></div>
|
||||
|
|
Loading…
Add table
Reference in a new issue