diff --git a/api/v1/orcid/index.php b/api/v1/orcid/index.php new file mode 100644 index 00000000000..9e3bc82e2d3 --- /dev/null +++ b/api/v1/orcid/index.php @@ -0,0 +1,20 @@ + + diff --git a/pages/catalog/CatalogBookHandler.php b/pages/catalog/CatalogBookHandler.php index 9e2fc3d71fe..19e83dc7380 100755 --- a/pages/catalog/CatalogBookHandler.php +++ b/pages/catalog/CatalogBookHandler.php @@ -36,6 +36,7 @@ use PKP\core\PKPRequest; use PKP\db\DAORegistry; use PKP\facades\Locale; +use PKP\orcid\OrcidManager; use PKP\plugins\Hook; use PKP\plugins\PluginRegistry; use PKP\security\authorization\ContextRequiredPolicy; @@ -293,6 +294,11 @@ public function book($args, $request) 'licenseUrl' => $this->publication->getData('licenseUrl'), ]); + // Add Orcid icon + $templateMgr->assign([ + 'orcidIcon' => OrcidManager::getIcon(), + ]); + // Ask robots not to index outdated versions and point to the canonical url for the latest version if ($this->publication->getId() != $submission->getData('currentPublicationId')) { $templateMgr->addHeader('noindex', ''); diff --git a/plugins/themes/default/styles/index.less b/plugins/themes/default/styles/index.less index 7f97826f9d6..cc6dc90e24b 100644 --- a/plugins/themes/default/styles/index.less +++ b/plugins/themes/default/styles/index.less @@ -20,6 +20,8 @@ @import "../../../../lib/pkp/styles/variables.less"; @import "../../../../lib/pkp/styles/utils.less"; @import "../../../../lib/pkp/styles/helpers.less"; +// General ORCID styles +@import '../../../../lib/pkp/styles/orcid.less'; // Styles unique to this theme @import "variables.less"; diff --git a/registry/emailTemplates.xml b/registry/emailTemplates.xml index baaa1cb15a8..5ba0795df89 100644 --- a/registry/emailTemplates.xml +++ b/registry/emailTemplates.xml @@ -68,4 +68,6 @@ + +