Skip to content

Commit bab88bf

Browse files
committed
pkp/pkp-lib#10792 Update ORCiD branding
1 parent 8d57fd4 commit bab88bf

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

pages/catalog/CatalogBookHandler.php

+1
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ public function book($args, $request)
295295
// Add Orcid icon
296296
$templateMgr->assign([
297297
'orcidIcon' => OrcidManager::getIcon(),
298+
'orcidUnauthenticatedIcon' => OrcidManager::getUnauthenticatedIcon(),
298299
]);
299300

300301
// Ask robots not to index outdated versions and point to the canonical url for the latest version

templates/frontend/components/authors.tpl

+6-1
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,13 @@
4343
{/if}
4444
{if $author->getOrcid()}
4545
<span class="orcid">
46+
{if $author->hasVerifiedOrcid()}
47+
{$orcidIcon}
48+
{else}
49+
{$orcidUnauthenticatedIcon}
50+
{/if}
4651
<a href="{$author->getOrcid()|escape}" target="_blank">
47-
{$author->getOrcid()|escape}
52+
{$author->getOrcidDisplayValue()|escape}
4853
</a>
4954
</span>
5055
{/if}

0 commit comments

Comments
 (0)