Skip to content

Commit

Permalink
pkp/pkp-lib#10792 Update ORCiD branding (#1815)
Browse files Browse the repository at this point in the history
* pkp/pkp-lib#10792 Update ORCiD branding

* Submodule update
  • Loading branch information
taslangraham authored Jan 24, 2025
1 parent 8d57fd4 commit 46dfb55
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions pages/catalog/CatalogBookHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ public function book($args, $request)
// Add Orcid icon
$templateMgr->assign([
'orcidIcon' => OrcidManager::getIcon(),
'orcidUnauthenticatedIcon' => OrcidManager::getUnauthenticatedIcon(),
]);

// Ask robots not to index outdated versions and point to the canonical url for the latest version
Expand Down
7 changes: 6 additions & 1 deletion templates/frontend/components/authors.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,13 @@
{/if}
{if $author->getOrcid()}
<span class="orcid">
{if $author->hasVerifiedOrcid()}
{$orcidIcon}
{else}
{$orcidUnauthenticatedIcon}
{/if}
<a href="{$author->getOrcid()|escape}" target="_blank">
{$author->getOrcid()|escape}
{$author->getOrcidDisplayValue()|escape}
</a>
</span>
{/if}
Expand Down

0 comments on commit 46dfb55

Please sign in to comment.